: Modify color of top/main menu, without modifying things globally : bollinger March 17, 2016, 05:21:09 PM Hi, our template would like to primarily utilize green (#006633) but as you can see from the screenshot-when we implement all green on the template background, it makes the words hardly legible upon roll over (when viewing the top/main menu).
Can we do a CSS override for just the menu item at the top so it is always white, and not that dark green? This will make things more legible for the user. :) http://enmu.edu/alumni-foundation/ Matthew : Re: Modify color of top/main menu, without modifying things globally : mikek March 18, 2016, 07:20:37 AM Hello,
You would have to modify the template's index.php file and just above the </style> closing tag add: #s5_nav li a:hover { color:#000FFF !important; } Change the hex color as desired. : Re: Modify color of top/main menu, without modifying things globally : bollinger March 18, 2016, 08:29:57 AM I added the code snippet but I am still not seeing the changes? See attachment.
Matthew : Re: Modify color of top/main menu, without modifying things globally : mikek March 18, 2016, 09:21:54 AM Hello,
Try changing it to this: #s5_nav li a:hover, #s5_nav li span:hover { color:#000FFF !important; } : Re: Modify color of top/main menu, without modifying things globally : bollinger March 18, 2016, 10:24:30 AM It is working, but still sort of funny in process. Go to the URL for a test drive and I think you will know what I am talking about...
For example, when hovering on sub menu items it is green again. Also, when that particular page is live, it is green again. :) Can you advise further? : Re: Modify color of top/main menu, without modifying things globally : bollinger March 18, 2016, 10:25:01 AM http://enmu.edu/alumni-foundation/
: Re: Modify color of top/main menu, without modifying things globally : mikek March 18, 2016, 12:31:08 PM Hello,
You probably need this as well: #s5_nav li.mainMenuParentBtnFocused, #s5_nav li.active:hover { color:#FFFFFF !important; } : Re: Modify color of top/main menu, without modifying things globally : bollinger March 18, 2016, 01:32:33 PM Hmmmm...still acting funny. Any further advice?
M : Re: Modify color of top/main menu, without modifying things globally : bollinger March 18, 2016, 01:35:37 PM Here is an example link that looks funny. The contact button that is still green...
http://enmu.edu/alumni-foundation/content/contact : Re: Modify color of top/main menu, without modifying things globally : mikek March 19, 2016, 09:30:00 AM Hello,
This would work for that: #s5_nav li.active span, #s5_nav li.active a { color:#FFFFFF !important; } You can also use Firebug to identify the classes being used on these areas if you run into other areas that need adjusted. |