Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1368803
    jeanvis
    Participant

    I find the white space at the beginning of each page too big. I know I can set the top margin of the row or a section to something like -50px, but I have to do that for each page, and besides it only works for regular text. As soon as I have a heading as first thing on the page it need more than -50px to get the same amount of white space. What is the best way around this?

    #1368860
    Paul R
    Moderator

    Hi,

    You need to set padding top to zero.

    Thanks

    #1370110
    jeanvis
    Participant

    Thanks Paul. But top padding is 45 by default meaning that I have to set it to 0 for every page I make. I would prefer to set it to 0 by default. How should I do that?

    And also: when I begin the page with regular text (paragraph style) and top padding to 0, the amount of white spice is exactly what I want. But if I begin with a heading (and top padding to 0) there is too much white space. How can I can rid of that?

    #1370179
    Friech
    Moderator

    Hi There,

    You can add this under Custom > CSS in the Customizer.

    body #x-section-1 {padding-top: 0 !important;}

    That way every first section of your page will have a 0 top padding.

    If you start the page with a heading please add a class mtn on it.

    Hope it helps, Cheers!

    #1370414
    jeanvis
    Participant

    Yes, definitely! Thanks a bunch Friech!!

    #1370441
    Thai
    Moderator

    You’re most welcome 🙂

  • <script> jQuery(function($){ $("#no-reply-1368803 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>