[Resolved] Transparent header and navigation overlapping image

Home Forums Support [Resolved] Transparent header and navigation overlapping image

Home Forums Support Transparent header and navigation overlapping image

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #153094
    Are Martin

    I was looking trough other generatepress user sites when I came across this site

    http://designismylife.com/

    It looks like he is using the sections add-on here for the page layout, but how does he achieve the effect where the transparent header is overlapping the page-header-image?

    #153148
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    He set the header position to absolute and gave it a semi-transparent background color.

    .site-header {
        background-color: rgba(0, 0, 0, 0.5);
        background-image: none;
        position: absolute;
        left: 0;
        right: 0;
        width: 100%;
    }

    Looks awesome ๐Ÿ™‚

    #153264
    Are Martin

    Thanks! ๐Ÿ™‚ Agree! This looks great!

    What css selectors would i use to target the main navigation and current menu item when navigation is set to “float right” inside the header in order to make this semi-transparent as well?

    I tried using firebug but I canยดt figure it out….

    #153343
    Tom
    Lead Developer
    Lead Developer

    If you’re using Generate Colors you should just be able to delete those color values and the items will be transparent.

    #153391
    Are Martin

    That worked! Nice! ๐Ÿ™‚

    Thanks for a brilliant theme!

    #153492
    Tom
    Lead Developer
    Lead Developer

    Thanks for using it! ๐Ÿ™‚

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.