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

    On a certain page, I have hidden the header (logo+navigation etc) via page settings. But now, the page has a top padding of 116 px (probably the height of the regular header).
    I see the following code in Chrome Inspector:

    media="all"
    .html_header_transparency #top .avia-builder-el-0 .container, .html_header_transparency #top .avia-builder-el-0 .slideshow_inner_caption {
        padding-top: 116px;
    }

    When I change “116px” into “1px” in Chrome Inspector, it looks good, but when I paste this CSS into Enfold Quick CSS, the 11p padding still exists.

    Can you help me to get rid of this padding?

    Thanks!

    #572922

    Hey sberendss!

    try to add an !important to your code:

    .html_header_transparency #top .avia-builder-el-0 .container, .html_header_transparency #top .avia-builder-el-0 .slideshow_inner_caption {
        padding-top: 0px !important;
    } 
    

    Best regards,
    Andy

    #572925

    Solved. Thanks Andy!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Remove top margin with hidden header’ is closed to new replies.