Trying to get changes to the primary menus to work. I've set the menu option to 'static' in the theme settings, have set the custom style for the menu as indicated below, and am using the "0" theme option. Most current version of Drupal. Am I missing something? I'm assuming this is with the default primary menu that displays at the top of the page (http://surgical.ideaworldhq.com) All I did was uncomment the relevant lines, and add the number for the middle menu item as stated in the instructions.Floating header works so I'm assuming the theme knows where the stylesheet is (in sites/all/themes/zeropoint/_custom)

Thanks for any help!

Chris
(my example below)

/* Uncomment this to have different colors (and chooose them) for first and last menu items. */

navlist li.first a {
background: #D0932C;
}
navlist li.last a {
background: #BF5D8C;
}

/* Change the values below accordingly: XXX=menu numer; YYY=background color. */

navlist li.menu-707 a {
background: orange;
}

Comments

Tony Jennings’s picture

I found the same-

I copied the custom-style.css to local.css (as instructed),
but anything I added to the styles was ignored.

However when I added my new styles to custom-style.css,
it worked just fine!

cbh’s picture

Yeah, I believe the file should be kept as custom-style.css, which I've done, but I'm unable to get it to work.

florian’s picture

Status: Active » Closed (fixed)

You are right, the file should be kept as custom-style.css. It seems your menu works now as expected.

poine’s picture

Version: 6.x-1.10 » 7.x-1.0
Assigned: cbh » poine
Status: Closed (fixed) » Active

Unfortunately I cannot make it.
Your theme is marvellous Florian, especially on your site 301.ro
But I'm still fighting with this file. When I uncomment this for example :
#navlist li.menu-290 a {
background: #005A84;
}

even if 290 is a node number of one entry of my menu, the color doesn't change, so I dont know what number put after "menu-".
I tried node numbers, as my main menu is a taxonomy menu.
When I look at the tables in the SQL database, the only one that seems relevant is taxonomy_menu, but I saw that the numbers there are node numbers.
I really would like to obtain multicolor menu like yours on 301.ro, so cool !!!
Thanks.

florian’s picture

The number (for ex. 290) should be the menu item number, not the node number.

florian’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)