I'm looking for a part-time remote job.

Hire me


I'm the author of:

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book's project or

Buy the book

Social pages of the book:

By buying this book you also donate to Redmine (see this page).


Follow me:

Feature #1847

Menu icon

Added by Pierluigi Soana about 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
13 Sep 2011
Due date:
18 Aug 2013
% Done:

100%

External issue:

Description

The Advertisement menu voice doesn’t have an icon, like the other items;

Would it possible to define/associate one?

menu.PNG View (2.8 KB) Pierluigi Soana, 13 Sep 2011 13:52

Associated revisions

Revision 18 (diff)
Added by Andriy Lesyuk over 6 years ago

Added support for Classic theme (#1847)

Revision 19 (diff)
Added by Andriy Lesyuk over 6 years ago

Refactored theme support to allow separate files (#1847)

History

#1 Updated by Pierluigi Soana about 8 years ago

By the way, we use a custom theme with gravatar icons

#2 Updated by Andriy Lesyuk about 8 years ago

  • Tracker changed from Patch to Support
  • Subject changed from menu icon to Menu icon
  • Assignee set to Andriy Lesyuk

These icons are defined in the theme...
I can help you if you tell me what theme is this.

#3 Updated by Pierluigi Soana about 8 years ago

We use a custom Theme, that overwrite the standard one for colors and fonts

#4 Updated by Andriy Lesyuk about 8 years ago

Unfortunately, I can’t include an icon in the plugin because it will be set for all themes...

So workaround can be:

Download the following icon: http://www.iconfinder.com/icondetails/49375/16/advertisement_advertising_blog_megaphone_promote_icon
Or any other...

Put it into public/images and name e.g. advertisement.png

Add the following CSS to your custom CSS:

#top-menu a.advertisements {
    background-image: url("../../../images/advertisement.png");
}

#5 Updated by Andriy Lesyuk about 8 years ago

  • Status changed from New to Open

#6 Updated by Pierluigi Soana about 8 years ago

Take note that:
  • image must be 16 x 16 pixel
  • in the css file you must add
    #top-menu a.advertisements { 
        background-position: 0% 40%;
        background-repeat: no-repeat;
        padding-left: 20px;
        padding-top: 2px;
        padding-bottom: 3px;
    }
    
    #top-menu a.advertisements { background-image: url(../../../images/advertisement.png); }
    

#8 Updated by Andriy Lesyuk almost 8 years ago

  • Tracker changed from Support to Feature

Ready to fix this if anyone needs this! But need a theme names (“Classic” and?..)! Or an idea how to do this without theme name...

#9 Updated by Andriy Lesyuk almost 8 years ago

  • Status changed from Open to Incomplete

#10 Updated by Andriy Lesyuk over 6 years ago

  • Status changed from Incomplete to Open

#11 Updated by Andriy Lesyuk over 6 years ago

  • Target version set to 0.2.0

#12 Updated by Andriy Lesyuk over 6 years ago

  • Due date set to 18 Aug 2013
  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Currently the plugin supports only the Classic theme (but appropriate CSS rules can be easily changed in custom themes).

Also available in: Atom PDF

Terms of use | Privacy policy