Jump to content

Top menu: Each category its own color


Recommended Posts

Hello all

 

I am a new user of presta with a burning question.

 

 

After a lot of "google-ing" i can not find a solution to my problem.

In the top menu i have put the main categories next to each other via the module config.

 

What i want now is to give each category item its own specific background color.

 

The help is appreciated.

 

Mark

 

P.S. Im using default theme.

 

 

Link to comment
Share on other sites

hello

 

it's not possible by default. unfortunately.

in this case it's necessary to modify module core, i mean blocktopmenu.php file

you have to add individual ID number for each <li> element (a part of menu)

 

there is no other way, unfortunately.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...