Change opacity of my navigation menu and header

  • Unknown's avatar

    I have changed the opacity of my sidebar to 0.6.
    However, the background area of the header and navigation menu has not changed. Does anybody know the CSS for that part?
    My site is:
    tasmanianstoryboardgroup.com

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    Hi stuartgillies,

    I believe the CSS code you would need to add to do what you are requesting is this:

    body:after {
        background-color:rgba(0, 0, 0, 0.6)
    }
    .site-header {
        background-color: transparent;
    }

    This sets the background-color to black, but you can set the rgb value to what ever color you would like.

    Hope that helps.

  • Unknown's avatar
    stuartgillies · Member ·

    Hey Sandy,
    Yes, that works! Many thanks.
    I was flustering around with that one for a while. Have a great week.
    cheers Stuart

  • Unknown's avatar
  • The topic ‘Change opacity of my navigation menu and header’ is closed to new replies.