[Resolved] White space after Removing Header

Home Forums Support [Resolved] White space after Removing Header

Home Forums Support White space after Removing Header

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1464201
    Sars

    Dear Team,
    I removed header using custom css that I found on this site. But after removing the Header, I am seeing a white space . How to remove the white space
    Thank You

    #1464204
    Leo
    Staff
    Customer Support

    Hi there,

    Any chance you can link us to the site in question?

    You can use the private information field.

    Let me know ๐Ÿ™‚

    #1464209
    Sars

    Thanks Leo,
    I have added the demo site in the private field.

    #1464214
    Leo
    Staff
    Customer Support

    First of all, instead of using CSS, you can actually create a layout element to remove the header:
    https://docs.generatepress.com/article/layout-element-overview/#disable-element

    As for the spacing, is this what you want to remove?
    https://www.screencast.com/t/C5Qahlq4TeM

    Let me know ๐Ÿ™‚

    #1464224
    Sars

    Thanks leo
    I will check https://docs.generatepress.com/article/layout-element-overview/#disable-element

    and Yes, I want to remove that Space.

    #1464230
    Leo
    Staff
    Customer Support

    Try this CSS:

    .separate-containers .site-main, .separate-containers .inside-right-sidebar {
        margin-top: 0;
    }
    #1464242
    Sars

    Thanks leo,
    I added the code and now my customcss is:
    .site-header {display:none}
    .separate-containers .site-main, .separate-containers .inside-right-sidebar {
    margin-top: 0;
    }

    But still I am seeing the white space.

    Thank You

    #1464361
    Elvin
    Staff
    Customer Support

    Hi,

    I don’t see the white space on my end anymore. Shown here: https://share.getcloudapp.com/2NujKJwn

    Perhaps what your seeing is a cached version. Can you try clearing your browser cache and site cache(if any)?

    Let us know what you see after clearing cache. Thank you.:)

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