Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #854958

    Hi,

    For a landingpage I’m using the blank template (no header/footer/sidebar) but I still see a white space in the top of the page. Stuff like:

    #header_meta {
    display: none;
    }

    or

    .html_header_top.html_header_sticky.html_large.html_bottom_nav_header #main {
    padding-top: 0px;
    }

    Doesn’t work. What is the correct CSS for this trick?

    Thanks,

    Steven

    #854966

    Hey steviger,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:

    #top.avia-blank, #top.avia-blank #wrap_all {
        display: block;
    }
    

    Best regards,
    Yigit

    #855432

    Hi Yigit,

    Thanks for your reply but that didn’t work. I added “!important” but same result. It seems to be a padding/margin issue but I can’t figure out what it is.

    Update: Your code in combination with .content { padding-top: 0px!important;} Did the trick.

    Cheers,

    Steven

    • This reply was modified 7 years, 3 months ago by steviger.
    #855444

    Hey!

    Glad you figured it out! Let us know if you have any other questions or issues and enjoy your weekend! :)

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘[SOLVED] Remove white space top of page with blank template’ is closed to new replies.