WordPress.org

Forums

Sugar and Spice
[resolved] Hover Color (6 posts)

  1. reallife01
    Member
    Posted 1 year ago #

    Hello!
    I really like your theme!
    Is there a possibility to change the colour of the Text in the Navigation Bar when you hover over it?

  2. alex27
    Member
    Theme Author

    Posted 1 year ago #

    Hello!

    Hover color is derived from main color scheme.
    The only way to do this is by overriding theme styles with your own, wither in child theme or by adding custom CSS rules via My Custom CSS plugin (recommended in this case).
    What you want to change is this rule:
    nav#main-nav > ul > li > a:hover {}

  3. reallife01
    Member
    Posted 1 year ago #

    Hey Alex,

    thanks for your fast reply!
    I tried to change the line like this:

    nav#main-nav > ul > li > a:hover {text-decoration:none; color:#6f147a;}

    but it's not working. What am I doing wrong?

  4. alex27
    Member
    Theme Author

    Posted 1 year ago #

    Hello!

    How did you add this style? I just tried adding this via My Custom CSS plugin and it works as expected.
    Unless you want also links in submenu to change color on hover, then you would use this rule instead:
    nav#main-nav ul ul a:hover {}

  5. lohm4ev
    Member
    Posted 1 year ago #

    hello. how to change the color names sidebar?

  6. esmi
    Forum Moderator
    Posted 1 year ago #

    @lohm4ev: If you require assistance then, as per the Forum Welcome, please post your own topic.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.