Labels |
Added:
?
|
Then it showed correctly
The icon
class has a width: 28px;
making the a
container to be small width where the text has to be displayed vertically. You will have to change your markup as advised.
Try your markup with icon-edit
only without icon
.
Labels |
Added:
J3 Issue
|
Closed_By | Quy | ⇒ | joomla-cms-bot |
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-05-26 08:58:57 |
Closed_By | ⇒ | Quy |
Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/20581
Closing as not a core issue.
the issue is on the menu, so also core. You can't add now a icon on the menu item
Status | Closed | ⇒ | New |
Closed_Date | 2018-05-26 08:58:57 | ⇒ | |
Closed_By | joomla-cms-bot | ⇒ |
Status | Closed | ⇒ | Confirmed |
Closed_Date | 2018-05-26 08:58:57 | ⇒ | |
Closed_By | joomla-cms-bot | ⇒ |
Set to "open" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/20581
Was this possible in previous versions? I had to create a custom css .auto-width {width:auto;}
as follows icon icon-edit auto-width
to make it work.
This is coming from Bootstrap and is expected. See documentation http://getbootstrap.com/2.3.2/base-css.html#icons.
The markup posted by @Quy is correct. If there's demand, 'Icon Class' option could be added to create correct markup for icons. Or you can use additional class to set the width as shown above.
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-05-26 17:30:11 |
Closed_By | ⇒ | franz-wohlkoenig |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/20581
closed as stated above.
Do you get the same result with the following code?
<a title=" Forums" href="/new/forums"><span class="icon icon-edit"></span> Forums</a>