Remove All Menu Icons

Post

Posted
Rating:
#4211 (In Topic #845)
As a new (and very green) user of Composr, I'm still working on learning all of the ins-and-outs of the system.

I'm a bit stumped with regard to Menu Icons. I can change them, but when I select 'none,' I still wind up with this icon  image.png

What am I overlooking?

Also, is there a simpler way of 'turning off' all of the icons without going to each menu item individually?

Thanks,
Jim

Image

(Click to enlarge)

Post

Posted
Rating:
#4212
Good evening. Yes, it is a problem indeed. 
Decisions 2:
  • gradient
  • own icon

Post

Posted
Rating:
#4214
For consistency some of the menu templates default to the page icon if none is set.

I'll assume you're using the default drop down menus, you need to edit the MENU_BRANCH_dropdown template and change:

Code

{$SET,img,{$?,{$AND,{$IS_EMPTY,{IMG}},{$LT,{THE_LEVEL},3}},{$IMG,icons/24x24/menu/_generic_spare/page},{IMG}}}
{$SET,img_2x,{$?,{$AND,{$IS_EMPTY,{IMG_2X}},{$LT,{THE_LEVEL},3}},{$IMG,icons/48x48/menu/_generic_spare/page},{IMG_2X}}}
to

Code

{$SET,img,}
{$SET,img_2x,}

(Alternatively you could remove the <img tags, or just remove the {$IMG,icons/24x24/menu/_generic_spare/page} and {$IMG,icons/48x48/menu/_generic_spare/page} defaults)

It is important to become comfortable with HTML and template editing if you want to customise how Composr looks, as a lot is controlled directly within the template files.

Post

Posted
Rating:
#4222

Chris Graham said



Это помогло, спасибо! Но теперь хотелось бы отцентровать меню, а то уехало влево. В каком шаблоне это можно сделать?
 

Last edit: by Chris Graham


Post

Posted
Rating:
Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 (Liked by enelson)
#4271
Answered in this video:

0 guests and 0 members have recently viewed this.