Remove padding at top of page

Home Forums Jevelin Theme Remove padding at top of page

Home Forums Jevelin Theme Remove padding at top of page

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • donkeydonner
    Participant

    Hi there,

     

    I would like to have the slider be at the top of the page just below the top header.

    I have removed all padding/margin and it seems that it cannot get any closer.

    Below the slider there is also padding/margin that I would like removed.

     

    Basically for this page I just want the slider

    Hi @donkeydonner,

     

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

     

    You can remove padding from that page 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

     

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

     

    Best regards,
    Shufflehound team

    donkeydonner
    Participant

    Thanks for that, what I ended up doing was the following:

     

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

     

    So it did it for every page,

    However it also does it for the front page which affect the menu on the top of the slider. Is there a way to maybe set the frontpage to a copy of the default template or something so the padding won’t affect the frontpage?

     

    Or maybe there is a better way to set the padding as a default for each page (other than the frontpage?) I think the page template might be the best way, so is there a way to do this? thank you!

    I don’t see the padding that you want to remove on other pages as shown in the attached screenshot.

    Could you please tell which padding you want to remove on other pages?

    Attachments:
    You must be logged in to view attached files.

    donkeydonner
    Participant

    I have removed the padding that i need on the other pages, but this affected the home page which also uses the default template, which I have set to 20px.

     

    On the homepage now it has 20px padding above the slider which I do not want. See attached image, there is 20px padding on homepage just below the menu. Thanks!

     

    Attachments:
    You must be logged in to view attached files.

    You can remove the padding from home page using the below custom CSS code.

     

    .home.page-template-default .fw-page-builder-content > section.sh-section {
        padding-top: 0;
    }
Viewing 6 posts - 1 through 6 (of 6 total)