WordPress.org

Ready to get started?Download WordPress

Forums

Whispy
[resolved] Submenu background color doesn't display (6 posts)

  1. mk2013
    Member
    Posted 1 year ago #

    Submenu background color doesn't display when I mouse over.
    This is my website: http://69.195.124.110/~villagt5/
    Please help.

  2. simple1
    Member
    Posted 1 year ago #

    try adding your hover background color to line 479 in your stylesheet style.css.

  3. Andrew
    Forum Moderator
    Posted 1 year ago #

    Try to avoid editing the theme's files if possible.
    You'll only lose those modifications when the theme updates.

    Download & install this Custom CSS Manager plugin and use its allocated section of the dashboard to hold this;

    a, #access ul ul :hover > a {
     background: #79a90c !important;
    }

    You're having to use !important because there's this CSS style;

    a:hover {
     background-color: none !important;
     background: none !important;
    }
  4. mk2013
    Member
    Posted 1 year ago #

    Thank you!

    I added background color to line 479 and it worked.

    How do I get the main menus to change color when I hover over them?

    I didn't go with the other option as I've already made a buch of other modification to the theme's files and I don't plan to do theme updates. (Hope that isn't a bad idea)

  5. mk2013
    Member
    Posted 1 year ago #

    Andrew's code fixed the main menus too.

    a, #access ul ul :hover > a {
    background: #79a90c !important;
    }

    Thank you both!

  6. simple1
    Member
    Posted 1 year ago #

    Good idea about the Custom CSS Manager, Andrew.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic