WordPress.org

Ready to get started?Download WordPress

Forums

Pinboard
[resolved] Submenu background color (8 posts)

  1. propronk
    Member
    Posted 1 year ago #

    I would like to change the Sub-Menu Background Color. And also the Sub-Menu Item Hover Background Color.
    Where can I change this? Not in Theme Option > Background Colors?

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    You're going to have to create some CSS styles for these modifications.
    Use a Child Theme or Custom CSS Manager plugin if you're not already.

  3. propronk
    Member
    Posted 1 year ago #

    Thanks Andrew. I am not familiair with a child theme. Is it also possible to make some changes in a php-file?

    When I use the plugin 'Custom CSS Manager' I don't make any changes in the theme CSS-files? I will download this plugin and see if I understand the meaning :-)

  4. propronk
    Member
    Posted 1 year ago #

    Uhmm, can I only add some code in the Custom CSS Code Manager settings?

    If so, do you know what I have to add if I want to change the Sub-Menu Background Color? And also the Sub-Menu Item Hover Background Color.

  5. Andrew
    Forum Moderator
    Posted 1 year ago #

    Uhmm, can I only add some code in the Custom CSS Code Manager settings?

    Yes. It's not really our place to teach CSS. Try http://csscreator.com/forum .
    For now, just use;

    #access li li {
     background: deeppink;
    }
    
    #access li li:hover {
     background: deepskyblue;
    }
  6. propronk
    Member
    Posted 1 year ago #

    This is the solution :-)

    To change the background of the sub menu link:

    #access li li a {
    background-color: #9B8579;
    }

    To change the background when hovering over the sub menu link:

    #access li li a:hover {
    background: #AE9C92;
    }

  7. propronk
    Member
    Posted 1 year ago #

  8. mochilacult
    Member
    Posted 11 months ago #

    Hello
    Im having a similar problem with my web. I need to add colour to the submenu DESTINOS. Thats my web http://www.mochilacult.com
    But I dont know the code neither where to place it to make those changes. Can someone help me pls? Tks in advance.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.