WordPress.org

Ready to get started?Download WordPress

Forums

Spun
[resolved] how to change the background color of the menu (6 posts)

  1. IamSonja22
    Member
    Posted 5 months ago #

    I am using WP v3.8.1.
    The theme is Spun.
    I am using a child theme.
    The url is: http://a365dayscloudproject.bluecurl.nl/

    The menu, currently holding the item "about us" has a white background. I want it to be the same as the background from the rest of the website. I've been trying for quite a while now but I can't seem to find the CSS tags responsible! If someone can help me I'd be very thankful!

  2. Andrew
    Forum Moderator
    Posted 5 months ago #

    Try putting this at the bottom of your Child Theme style.css file:

    .main-navigation li {
     background: transparent;
    }
  3. IamSonja22
    Member
    Posted 5 months ago #

    Done, doesn't seem to work.

    Also doesn't work when I change the background color like so:

    .main-navigation li {
     background-color: #f00;
    }

    when I use firebug and select the ul and li.. both show no background properties. I think it is inheriting it from somehwere but I can;t seem to find from where..

  4. Andrew
    Forum Moderator
    Posted 5 months ago #

    Instead of this:

    /* =Theme customization starts here
    -------------------------------------------------------------- *

    Do this:

    /* =Theme customization starts here
    -------------------------------------------------------------- */
  5. IamSonja22
    Member
    Posted 5 months ago #

    I am going to sit in a corner and feel ashamed!

    Thanks! :) works like charm!

  6. Andrew
    Forum Moderator
    Posted 5 months ago #

    Btw if something obvious like body{border:10px solid red} doesn't work then that probably means you have a syntax error somewhere.

Reply

You must log in to post.

About this Theme

About this Topic

Tags

No tags yet.