Change background color of menu

  • Author
    Posts
  • #105843

    skylar289
    Member
    Original poster

    Is there any way of changing the background color or font color of my menu?

    The blog I need help with is: monarksports.com

    #106017

    otjeremy
    Member

    Hi skylar,

    The background color of your menu can be changed with the following CSS:

    .site-header {
        background: #000;
    }

    And the font color with this CSS:

    .main-navigation ul li a {
        color: #fff;
    }
    .main-navigation ul li a:hover {
        color: #fff;
    }

    This would set the background to black, and the menu font color to white, so feel free to adjust as desired. If you haven’t used CSS on WordPress.com before, please see How to Add Custom CSS.

    Thanks!

The topic ‘Change background color of menu’ is closed to new replies.