Remove All Menu Icons
Posted
#4418
(In Topic #929)

Standard member

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

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
Posted
Standard member

Decisions 2:
- gradient
- own icon
Я самая красивая из стаи синих птиц.
Posted

Site director

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}}}
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.
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Posted
Standard member

Это помогло, спасибо! Но теперь хотелось бы отцентровать меню, а то уехало влево. В каком шаблоне это можно сделать?Chris Graham said
{$SET,img,}
{$SET,img_2x,}
Last edit: by Chris Graham
Я самая красивая из стаи синих птиц.
Posted

Site director

Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
1 guest and 0 members have just viewed this.