Changing padding on top of pages

Home Forums Jevelin Theme Changing padding on top of pages

Home Forums Jevelin Theme Changing padding on top of pages

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Thabit2017
    Participant

    Hey guys

     

    So I’m currently playing around with different titlebars and headers in an About us page…here: https://datumpoint.org.uk/about-us/

     

    And I wanted to understand why there’s such a big gap between top of page/titlebar and the title itself. Is there a way to close this gap for some / all pages?

     

    I worry most from a mobile usage perspective that such a big gap might not even display the title above the fold!

     

    Thanks

    Amy

    Hi Amy,

     

    I hope you are well today and thank you for your question.

     

    It is a section padding that you can remove by adding the following CSS code in the Custom CSS code option of your theme on the below path.

     

    Admin Area -> Appearance -> Theme Settings -> Custom Code -> CSS Code

     

    #wrapper > .sh-page-layout-default {
        padding-top: 0;
    }
    .fw-page-builder-content > section.sh-section {
        padding-top: 0;
    }

     

    Best regards,
    Shufflehound team

    Thabit2017
    Participant

    Thanks this is great.

    Can I just ask though if there’s anyway to just reduce the padding space rather than remove altogether? Without any padding it seems a little too close to the top!

     

    I tried changing the padding top value but it only seems to jump between being there and not being there, rather than graduating with size dependent on the number.

     

    Thanks again

    You can change above shared CSS code as follwing to achieve this.

     

    #wrapper > .sh-page-layout-default {
        padding-top: 20px;
    }
    .fw-page-builder-content > section.sh-section {
        padding-top: 20px;
    }

    Please change the value 20px in the above CSS code to reduce/increase paddings.

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