Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • VariFrame Friend
    #1075405

    Mate you need to make it an absolute position 😉 If you check worldwildlife.org elements you can see their logo has:

    #header .logo {
        background: url(/assets/structure/unique/logo-c562409….png) no-repeat;
        -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.08);
        -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.08);
        box-shadow: 0 1px 3px rgba(0,0,0,0.08);
        height: 120px;
        margin: 0;
        position: absolute;
        top: -20px;
        width: 100px;
        z-index: 3;
    }

    You dont need everything they have here – just use height, z-index and most important: position:absolute.

    VariFrame Friend
    #1075406

    So I guess your code may look like this:

    .jub-block .navbar-brand>img {
    min-height: 80px;
    z-index: 999;
    position: absolute;
    top: 0px;
    left: 0px;
    }

    Use your own desired pixel numbers in top and left…

    Keep in mind though that you might need to use a different logo styling for mobile devices if you use absolute positioning….

    Saguaros Moderator
    #1075577

    It seems the logo looks fine now, let us know if you still need helps.

    carlosboni Friend
    #1075608

    Thank you very much VaryFrame for your solution. I followed your recommendation and worked also on responsive logo for mobiles.

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  carlosboni 7 years ago.

The topic ‘Logo in header over contents. How-to create stamp-over effect’ is closed to new replies.