THEMEHALL
  • Omega
  • Cart
  • Support
  • My Account

Transparent color layer over header image

Home › Forums › Omega Child › Transparent color layer over header image

Tagged: child, header image, transparent layer

  • This topic has 2 replies, 2 voices, and was last updated 12 years, 1 month ago by jenlm.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 6, 2014 at 7:50 pm #1863
    jenlm
    Participant

    I am making a child theme for Omega for an independent study at school and I added a background image to .site header. I want to add a transparent layer of color over it, of partial width.

    I wanted to make .site-header {position:relative} and add

    background:rgba(255,255,255,.9);
    top:0;
    left:210px;
    width:80%;
    height:100%;
    position:absolute;

    to .site-header > .wrap

    This isn’t getting the desired result as I’m most likely applying in the wrong place or am not aware of other CSS effecting this area. Any help would be appreciated.

    March 7, 2014 at 3:55 am #1868
    han
    Keymaster

    I am not sure what you’re trying to accomplish, but ‘position:absolute;’ seems not right. try position:relative and use pixel for height.

    March 7, 2014 at 4:49 am #1872
    jenlm
    Participant

    On a small scale, this code does as I expect, puts a transparent layer of white over a background image. I don’t want to do this in Photoshop because I only want it on the middle 80% of the site header and when the site scales to a smaller screen, the site title and site description move out of the transparent area. I guess what would answer my question is – what is the class or id of the container or wrap for the site-header?

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)

You must login to reply to this topic.

Copyright © 2025 THEMEHALL.

  • Terms of Service
  • Resources
  • Blog
  • Support
css.php