Community Forums › Forums › Archived Forums › General Discussion › Change hover color
Tagged: hover color
- This topic has 9 replies, 2 voices, and was last updated 9 years, 6 months ago by
Davinder Singh Kainth.
-
AuthorPosts
-
March 23, 2014 at 9:17 pm #96311
newedgemarketing
MemberHi I'm trying without luck to change the hover colour on my elven40 pro theme.
I've managed to change the colour blue of the default blue but now want the hover colour to change to a light blue I"m changing the entry below, but everytime i change it, the hover colour does change to the lighter blue but so does the colour of the text to the same blue.
What am i doing wrong?
.eleven40-pro-blue a,
http://119.81.1.69/~newedgem/
.eleven40-pro-blue .entry-title a:hover,
.eleven40-pro-blue .genesis-nav-menu a:hover,
.eleven40-pro-blue .genesis-nav-menu .current-menu-item > a,
.eleven40-pro-blue .nav-primary .sub-menu a:hover,
.eleven40-pro-blue .nav-secondary .sub-menu a:hover,
.eleven40-pro-blue .site-footer a:hover,
.eleven40-pro-blue .site-header .sub-menu a:hover {
color: #27aae1;
}March 23, 2014 at 9:24 pm #96313Davinder Singh Kainth
MemberAdd this code and then check
.eleven40-pro-blue .entry-title a:hover, .eleven40-pro-blue .genesis-nav-menu a:hover { color: #444 !important; }
Change #444 to color code of your choice
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesMarch 23, 2014 at 9:50 pm #96316newedgemarketing
MemberHi Davinder
Thankyou! It changed the hover colour of my main menu but not the rest of the site i.e. the main body text i want to also change the hover color to the light blue but it hasn't changed.
Do i need to place this code in a specific place?
I've currently got it under here
/* Primary Navigation
--------------------------------------------- */March 23, 2014 at 10:00 pm #96318newedgemarketing
MemberI forgot to mention I also need the colour to stay the light blue once selected.
March 23, 2014 at 10:30 pm #96319Davinder Singh Kainth
MemberReplace this block of code
/* eleven40 Pro Blue --------------------------------------------- */ .eleven40-pro-blue a, .eleven40-pro-blue .entry-title a:hover, .eleven40-pro-blue .genesis-nav-menu a:hover, .eleven40-pro-blue .genesis-nav-menu .current-menu-item > a, .eleven40-pro-blue .nav-primary .sub-menu a:hover, .eleven40-pro-blue .nav-secondary .sub-menu a:hover, .eleven40-pro-blue .site-footer a:hover, .eleven40-pro-blue .site-header .sub-menu a:hover { color: #27aae1; }
with following
/* eleven40 Pro Blue - all links in body --------------------------------------------- */ .eleven40-pro-blue a, .eleven40-pro-blue .entry-title a:hover { color: #444; }
/* eleven40 Pro Blue - navigation links --------------------------------------------- */ .eleven40-pro-blue .genesis-nav-menu a:hover, .eleven40-pro-blue .genesis-nav-menu .current-menu-item > a, .eleven40-pro-blue .nav-primary .sub-menu a:hover, .eleven40-pro-blue .nav-secondary .sub-menu a:hover, .eleven40-pro-blue .site-footer a:hover, .eleven40-pro-blue .site-header .sub-menu a:hover { color: #444; }
/* eleven40 Pro Blue - select link color --------------------------------------------- */ .eleven40-pro-blue .genesis-nav-menu .current-menu-item > a { color: #444 !important; }
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesMarch 24, 2014 at 1:55 am #96354newedgemarketing
MemberThanks so much Davinder
March 24, 2014 at 2:15 am #96355newedgemarketing
MemberDavinder I've realised I've got that wrong, really I just need is just the primary nav menu to change to the light blue #abe1f9 and also use the same colour when that menu is select i.e. current.
I did try changing the code myself but I keep getting it wrong. ;(
March 24, 2014 at 2:51 am #96359Davinder Singh Kainth
MemberOk, in that case use this and let me know how it goes.
.eleven40-pro-blue .genesis-nav-menu a:hover, .eleven40-pro-blue .genesis-nav-menu .current-menu-item > a { color:#abe1f9 !important; }
Above will change font color while mouse hover and not the background color of the navigation bar.
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis ThemesMarch 24, 2014 at 2:58 am #96362newedgemarketing
MemberPerfect you're a star!
March 24, 2014 at 4:05 am #96366Davinder Singh Kainth
MemberGlad your issue is resolved.
Sunshine PRO genesis theme
Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes -
AuthorPosts
- The topic ‘Change hover color’ is closed to new replies.