Needs review
Project:
AT Commerce
Version:
7.x-3.0-rc1
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Mar 2013 at 20:53 UTC
Updated:
10 Aug 2013 at 18:58 UTC
I was running into issues with the main nav bar:
- all menu items using the background color set for active only
in colors.css there was the following:
.nav .block-menu ul li:hover,
.nav .block-menu ul li.focus,
.nav .block-menu ul a:focus,
.nav .block-menu ul a:hover,
.nav .block-menu ul a:active,
.nav .block-menu ul a:visited
{
color: #fafafa;
background: #0c2d4d;
}
I removed "nav .block-menu ul a:visited" and added directly below:
#menu-bar ul.menu li a.active-trail { background: #2079D2; }
Which basically removed the issue with the "active menu item" color showing for all menu items, and actually uses the background color provided whenever the menu item is active.
Thanks again for another great theme.
Comments
Comment #0.0
ydahithanks
Comment #0.1
ydahimistake
Comment #1
roball commentedI solved this without changing anything in the theme's shipped files, just by adding style definitions to the custom file
at_commerce.custom.css.When using the Superfish module's Default Style, something like this worked for me:
Comment #1.0
roball commenteded