change menu icons

More
2 years 8 months ago #9668 by zizou17
zizou17 created the topic: change menu icons
Hi, i would like to change the menu icons and i want to have different color in each other.
can you please help me?
thanks in advnaced

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

More
2 years 8 months ago #9671 by marcin
marcin replied the topic: change menu icons
Hi,

You can change or upload a new icon in your Joomla back-end. Go to "Menus -> Main Menu" and edit a menu item. Let's take the "Home" menu item as example:



On the "Link Type" tab you can upload or change the image as selected on the above screenshot.
You can repeat this for all menu items you need.

Regards,
Marcin
Attachments:

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

More
2 years 7 months ago #9672 by zizou17
zizou17 replied the topic: change menu icons
Thanks for your response.....
Can you please tell me how can i change color for each background menu? I found how to change them all, by template settings...but i want to have different colors for each one

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

More
2 years 7 months ago - 2 years 7 months ago #9674 by marcin
marcin replied the topic: change menu icons
Hi,

You need to add styles to the custom.less file as follows:
.dj-main li:nth-child(1) a.dj-up_a {background: #fff;}

.dj-main li:nth-child(2) a.dj-up_a {background: #fff;}

.dj-main li:nth-child(3) a.dj-up_a {background: #fff;}

and so on...

More about custom.less:
www.joomla-monster.com/blog/customizatio...sed-on-ef4-framework

Regards,
Marcin
Last Edit: 2 years 7 months ago by marcin.

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

More
2 years 7 months ago #9678 by zizou17
zizou17 replied the topic: change menu icons
Thanks you so much ....i did it..it works so well!!!!!!

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

Time to create page: 0.279 seconds

INDICO S.C.

ul. Wałowa 10/3, 84-200 Wejherowo, registered in Centralna Ewidencja i Informacja o Działalnosci Gospodarczej
NIP/VATID: PL5882424318

Copyright © 2009-2019 Joomla-Monster.com All rights reserved.

Joomla-Monster.com and this site is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.