News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Remove all icons

Started by ch2856, 04.09.2016 00:15:12

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ch2856

Hi,

There are few outputs that can't be controlled by the layout, and since there is no template override option it means I need to use CSS  display:none. I want to replace all the icons with font awesome but I don't like the idea of using display:none, I prefer a clean and lean code.

Is there an elegant way to do it (without a hack?)

Thanks,
Ran
  •  

ColinM

Hi
The layouts are in effect the jD overrides on what you see.  So creating a new layout is not a hack but the preferred route in a jD context.
Which icons are the ones you want removed? A picture indicating which ones would help.
Colin
Colin M
  •  

ch2856

The layout concept I understand, but for example lets talk about the search icon. It's an image and I can't change it. Sure, I can upload an different image under the same name to com_jdownloads/assets/images/ but it's still must be an image. If I want to use font-awesome, sure I can add it to the layout but the image will still be there (without css tricks).

Some other question. I have no idea what have I done, but the category list box stop displaying the first level (it will display anything else). Any idea?

Thanks,
Ran
  •  

ColinM

Hi
Quotethe category list box stop displaying the first level (it will display anything else)
Have you edited the Categories Layout? Try setting another one as the active one. But please always make a copy of any layout before you edit it.

Yes the structure does require an image for links such as the search icon. Making a Joomla! override is possible but would require much work by you and it would not necessarily be more efficient.  You could of course adopt a more pragmatic approach and make an image from the relevant Font Awesome character.

Colin
Colin M
  •