Support » Fixing WordPress » Help with Menu

  • Hi

    I have a basic horizontal menu on my site (twenty ten) with a few drop downs from each parent category. I made a child folder for the theme and am wondering how can I change the menu drop down background colour and text to suit the main menu bar – green?

    One other thing is that I altered the colour of the main menu in my child style sheet to green and now it won’t go to any other colour. The reason I was trying this is I was wanting to change the colour of the drop down but it wasn’t working so I tried changing the menu bar colour and that never worked either.

    I haven’t changed anything so why is my child appearance changes not having any affect anymore?

    Site:

    http://www.powerbuildermarketing.com

    This is my main menu colour:

    #access {
    	background: #FF3300;
    	display: block;
    	float: left;
    	margin: 0 auto;
    	width: 940px;
    }
    
    And I think this is the menu drop down background properties:

    #access ul ul a {
    background: #aaa;
    line-height: 1em;
    padding: 10px;
    width: 160px;
    height: auto;
    } `

    Could someone help me find out why my child is not working anymore?

    Thank you

    W

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter wdb07159

    (@wdb07159)

    Ok for some reason I had to go in and activate my theme again???

    Now I see the changes.

    Thread Starter wdb07159

    (@wdb07159)

    I can change the background of the main page in the dashboard but then how does that work if I also change it in the child theme? What takes precedence?

    I would like to keep all the changes in my child sheet.

    Thanks

    W

    You don’t have any styles in your child style.css file at all — it’s empty. So you are not making changes in the right place…

    ????

    You also have an error in your regular style.css file on line 437:

    #access li:hover > a,
    #access ul ul :hover > a {
    	background: #333;
    	color: #fff;-->
    }

    See the –> it may be causing problems.

    Also be sure that you are clearing your browser cache when you make changes to any stylesheet.

    Thread Starter wdb07159

    (@wdb07159)

    I cleared out the styles in the child css as it wasn’t having any affect. I will try removal of the –> and see how that works.

    #access {
    	background: #000;
    	display: block;
    	float: left;
    	margin: 0 auto;
    	width: 940px;
    }

    When I put the above code in my child theme and change the colours nothing happens, my understanding is this should change the background of the menu but does nothing.

    In the customise part of the child theme I have the background set as green so would this override the settings in the CSS? The reason I ask and what I did notice previously was that when I changed the background colour in customise the menu changed as well, from blue to black.

    Thanks

    W

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Help with Menu’ is closed to new replies.