help to better help you:

Please: add always Joomla / JEM version and details to your posts, so we can try to reproduce your issue!

Feature requests for JEM 2.0 - initial public release

Replace images by icons

Re: Replace images by icons

6 years 6 months ago
#25143
In that case, the inner quotations marks should be backslashed:

COM_JEM_ICAL_ICON="<span class=\"icon-calendar\"></span>"
COM_JEM_EMAIL_ICON="<span class=\"icon-mail\"></span>"
COM_JEM_PRINT_ICON="<span class=\"icon-print\"></span>"
Regards,
Herbert

Please Log in or Create an account to join the conversation.

Re: Replace images by icons

6 years 6 months ago
#25144
is there a possibility to do near the same with fontawesome?

That should be easy: search for "Icon-" in the css files of your template, find the ones you want to use for print, mail and calendar and use their declarations instead of mine in the language override.
Regards,
Herbert

Please Log in or Create an account to join the conversation.

Re: Replace images by icons

6 years 6 months ago
#25145
Thanks, I just tried, but this seams not to work with fontawesome

Please Log in or Create an account to join the conversation.

Re: Replace images by icons

6 years 6 months ago
#25146
I remember vaguely that fontawesome uses s.th. like "fa-" in its css (not "icon-"). Maybe that helps you to find s.th. like "fa-print" as icon font.
Regards,
Herbert

Please Log in or Create an account to join the conversation.

Re: Replace images by icons

6 years 6 months ago - 6 years 6 months ago
#25147
What I don't understand: Why you use language overrides instead of adding the <span> directly to the code, giving a class so it can be styled via css?

It should be something like that:
.jem-print-icon {
content: "\f02f";
}
As far I know, all Icons can be "encoded" with such a string.
Last edit: 6 years 6 months ago by Egnarts.

Please Log in or Create an account to join the conversation.

Re: Replace images by icons

6 years 6 months ago - 6 years 6 months ago
#25148
is this @jojo12 or @HerKle
I think HerKle is trying to separate icons from the output.class.php to be more free! Because you can't override output.class.php
Last edit: 6 years 6 months ago by jojo12.

Please Log in or Create an account to join the conversation.

Time to create page: 2.280 seconds