Feature #1847
Menu icon
100%
Description
The Advertisement menu voice doesn’t have an icon, like the other items;
Would it possible to define/associate one?
Associated revisions
Added support for Classic theme (#1847)
Refactored theme support to allow separate files (#1847)
History
#1 Updated by Pierluigi Soana over 13 years ago
By the way, we use a custom theme with gravatar icons
#2 Updated by Andriy Lesyuk over 13 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 over 13 years ago
We use a custom Theme, that overwrite the standard one for colors and fonts
#4 Updated by Andriy Lesyuk over 13 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 over 13 years ago
- Status changed from New to Open
#6 Updated by Pierluigi Soana over 13 years ago
- 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 13 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 13 years ago
- Status changed from Open to Incomplete
#10 Updated by Andriy Lesyuk over 11 years ago
- Status changed from Incomplete to Open
#11 Updated by Andriy Lesyuk over 11 years ago
- Target version set to 0.2.0
#12 Updated by Andriy Lesyuk over 11 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).