User tests: Successful: Unsuccessful:
Pull Request for Issue #16447 .
Currently we can set a custom class only for anchor element of a menu item.
This change add the option to set a custom class also for the image element associated to the menu item (if any). This way css sprites can be easily used to build menus with icons instead of using many single images, thus reducing overhead.
Simply add a new menu element and notice the presence of "Image CSS style" option under the "Link options" tab.
Adding a class name under "Image CSS style" will apply a custom class to the img element of menu link item.
It's not possible to add a custom class to the img element.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_menus Language & Strings Modules Front End |
Labels |
Added:
?
?
|
The language strings are not named the same in the xml as in the ini
COM_MENUS_ITEM_FIELD_MENU_IMAGE_CSS_LABEL
COM_MENUS_ITEM_FIELD_IMAGE_CSS_LABEL
Yeah, LABEL and DESC were also inverted. Fixed.
I have tested this item
Should I correct something more?
I have tested this item
@mattiaverga in Case no more Changes needed this PR needs next a second successfully Test.
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC after two successful tests.
Milestone |
Added: |
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-06-29 14:09:31 |
Closed_By | ⇒ | mbabker |
I have tested this item? unsuccessfully on d484d88
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16456.