Home Forums WoodMart support forum Body Padding

Body Padding

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #576392

    Crisperience
    Participant

    Hi,

    Could you please help me with the body padding? As you can see in the screenshots, the header “overlays” the body. I want more space between the header and the body of each page. Thanks.

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

    Hello,

    Please add the following Custom CSS code to Theme Settings > Custom CSS > Global Custom CSS. If you want to add this css for specific pages use page id for this.

    .main-page-wrapper {
        margin-top: 40px !important;
    }

    Best Regards.

    #576676

    Crisperience
    Participant

    That worked, but it seems only the shop related pages needed to have their margins tinkered with. Other pages should stay as they were. I used this code to make it work, but am not sure if that’s the right way to do it. Please, check the code and let me know if there’s a better/more practical way.

    /* Add 40px margin to the whole website */
    .main-page-wrapper {
    margin-top: 40px !important;
    }

    /* Remove the margin for the specific pages */
    .page-id-3669 .main-page-wrapper,
    .page-id-4400 .main-page-wrapper,
    .page-id-4439 .main-page-wrapper {
    margin-top: 0 !important;
    }

    #576744

    Hello,

    Try to use this below code for archive pages.

    .archive .main-page-wrapper {
        margin-top: 40px !important;
    }

    Best Regards.

    #576746

    Crisperience
    Participant

    That doesn’t work. Only the “Shop” page seems ok, but other webshop related pages (single product, cart, etc.) do not work and have their margin wrong.

    #576909

    Hello,

    Sorry to say i am unable to login or visit your site due to database error:
    https://ibb.co/zsL4qpy

    Best Regards.

    #581180

    Crisperience
    Participant

    There’s something messed up with the margins. I removed the margins on the pages I have control (home, about us, and contact) and they work fine.

    Every other page (webshop related), such as shop page, single product, cart, my account etc., have too short top margins and some of them have huge footers. Please check the screenshots.

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

    Hello,

    For Other pages, You can find the option in the Design tab for WP bakery page builder and the Advanced tab for Elementor to remove the spaces.

    Please follow this guide:
    https://xtemos.com/docs-topic/top-and-bottom-paddings/

    Best Regards.

    #581330

    Crisperience
    Participant

    Did you even check the pictures, please do? I also have a problem with the footer. Some of the pages such as product archive are “too short” which forces footer to expand I guess. Please confirm if that is the case and how should I fix it?

Tagged: 

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