change article title style

GK User
Wed Mar 07, 2012 8:12 am
I want to adjust the hover and normal state colors of the main menu items without affecting the rest of the url (a) colors on the page - how can i add an override without affecting the links color.

Currently when i change the color of hover - it will change all hover states on all my page - i want to separate the menu and the rest of the colors.


http://aleksandrshevchenko.org/index.php

Thank you.
User avatar
Expert Boarder

Konrad M
Wed Mar 07, 2012 8:18 am
Hi
For normal state please add to othe override.css
Code: Select all
#gkMainMenu > div.gk-menu > ul > li > a {
color:#ffffff;
}

for hover:
Code: Select all
#gkMainMenu > div.gk-menu > ul > li > a:hover {
color:#000000;
}

You probably want to code for normal state when you are on active item page
Code: Select all
#gkMainMenu > div.gk-menu > ul > li.active > a {
color:#1e1e1e;
}


Of course set youtr own color values and remember to enable override.css option in template settings.
User avatar

GK User
Wed Mar 07, 2012 9:53 pm
perfect that works.. so how am i suppose to figure that out myself.. lol.. i want to be able to figure that our on my own.. :) whats your tip? :)
User avatar
Expert Boarder

GK User
Wed Mar 07, 2012 11:48 pm
We use Firebug, mozilla extensions :)
User avatar
Platinum Boarder

GK User
Thu Mar 08, 2012 5:40 am
thanks... i use "inspect element" in chrome.
User avatar
Expert Boarder


cron