WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [TwentyEleven] changing the nav bar--not as easy as changing CSS? (5 posts)

  1. jckmvmt
    Member
    Posted 2 years ago #

    I'm trying to change the nav bar with my child theme, but I've learned that, despite changing #access in a child theme's style.css, the nav bar's style is generated over whatever CSS was supposed to replace it.

    So how exactly do I change the generator--wherever it is--to display the CSS from my child theme?

  2. WPyogi
    Volunteer Moderator
    Posted 2 years ago #

    The CSS changes must be specific enough to override the parent CSS code -- changing things using just #access may not actually affect all elements within that section of the page if they are more specifically styled in the parent CSS (i.e. #access ul li is more specific than just #access).

    If you want more specific help, post a link to your site.

  3. jckmvmt
    Member
    Posted 2 years ago #

    Hey thanks, that allowed more of my CSS to go through.

    Not all of it, though. i'm trying to change the height of #access ul to 36px instead of inherit. won't let me, though. it interprets my only link's css to have padding, which i removed in my child's css file:

    http://www.ourmvmt.com

  4. WPyogi
    Volunteer Moderator
    Posted 2 years ago #

    The height of the element IS set to 36px (that's what height controls). Are you talking about font size?

  5. jckmvmt
    Member
    Posted 2 years ago #

    looks like i'm just experiencing a longer-than-normal delay from my web host.

    marking this resolved, your solution worked. thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic