Twenty Eleven
Can't make main navigation background transparent (6 posts)

  1. orelses
    Posted 4 years ago #

    I'm using the dark version of the theme, and can't for the life of me find where the main navigation bar background and shading is handled in the main style sheet. Nothing matches those specs under nav or access. I want to remove the nav div background and just have text menu over the primary background for the site.



  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Do not edit the Twenty Eleven theme. It is the default WordPress 3.2 theme and having access to an unedited version of the theme is vital when dealing with a range of site issues. Create a child theme for your changes. Once your child theme is active, we should be able to help with the customisation.

  3. orelses
    Posted 4 years ago #

    Ok let me ask this a different way to get at the overall point. Within the child theme what exactly would I target to change the background color of the main navigation div. Please give an example.

    Thanks again

  4. orelses
    Posted 4 years ago #

    Any reason why this doesn't make the nav bar background transparent when placed in the child them?

    #access {
    background: transparent;

  5. orelses
    Posted 4 years ago #

    It appears to be some issue with importing the dark.css under /colors into the child. Some how the child is not overwriting that style sheet.

  6. Rev. Voodoo
    Posted 4 years ago #

    If I'm not mistaken, the dark scheme gets loaded up after the theme loads.... it gets priority. could try an !important on your css

    If that doesn't do it, There may be an easier way, but ya could make your own colour scheme from your child theme

    using a copy of dark.css from 2011, minus the rules that are interfering

    Or maybe easier, switch to normal color scheme, and copy all the css from the dark scheme to your child style.css, minus the rules you don't like

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic