• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Change hover color

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Change hover color

This topic is: resolved

Tagged: hover color

  • This topic has 9 replies, 2 voices, and was last updated 9 years, 6 months ago by Davinder Singh Kainth.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • March 23, 2014 at 9:17 pm #96311
    newedgemarketing
    Member

    Hi 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,
    .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;
    }

    http://119.81.1.69/~newedgem/
    March 23, 2014 at 9:24 pm #96313
    Davinder Singh Kainth
    Member

    Add 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 Themes

    March 23, 2014 at 9:50 pm #96316
    newedgemarketing
    Member

    Hi 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 #96318
    newedgemarketing
    Member

    I forgot to mention I also need the colour to stay the light blue once selected.

    March 23, 2014 at 10:30 pm #96319
    Davinder Singh Kainth
    Member

    Replace 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 Themes

    March 24, 2014 at 1:55 am #96354
    newedgemarketing
    Member

    Thanks so much Davinder

    March 24, 2014 at 2:15 am #96355
    newedgemarketing
    Member

    Davinder 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 #96359
    Davinder Singh Kainth
    Member

    Ok, 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 Themes

    March 24, 2014 at 2:58 am #96362
    newedgemarketing
    Member

    Perfect you're a star!

    March 24, 2014 at 4:05 am #96366
    Davinder Singh Kainth
    Member

    Glad your issue is resolved.


    Sunshine PRO genesis theme
    Need Genesis help? Davinder @ iGuiding Media | My Blog | Fresh Genesis Themes

  • Author
    Posts
Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Change hover color’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble