Home Forums WoodMart support forum The top margin of the first row is set to 0, and there is still distance between

The top margin of the first row is set to 0, and there is still distance between

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

    ha21cn
    Participant

    When I used the Layout function to create the Product Archive Layout, I set the top margin of the first row to be 0, but I found that there is still a blank distance from the Header.

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

    ha21cn
    Participant

    I’d like to know what causes this, and how to set it up so that it doesn’t have any blank margins and ensures that the first line of the background image is complete

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

    Hello,

    Please try to use the below custom CSS code and paste it to Theme Settings >> Custom CSS >> Global CSS Section:

    main.wd-content-layout.content-layout-wrapper.container.wd-builder-on {
        padding-block-start: 0px;
    }

    Best Regards.

    #625580

    ha21cn
    Participant

    I found that using the CSS code you gave causes the Breadcrumbs & Products navigation display in the theme settings to disappear on individual product pages

    #625868

    Hello,

    The issue has been successfully resolved. I have updated the custom CSS code under Theme Settings > Custom CSS. Please review your site to confirm that the issue has been addressed.

    Best Regards

    #629043

    ha21cn
    Participant

    Now there’s another problem, which is that the first line of content on the home page still has blank space with the menu, and the rest of the page is fine

    https://ibb.co/CP8wJ5g

    #629044

    ha21cn
    Participant

    .archive .wd-content-layout.content-layout-wrapper {
    padding-block-start: 0px;
    }

    I’m wondering if this is your updated CSS code? Can this code also be used on other sites that have used the Woodmart theme?

    #629319

    Hello,

    Please use the below custom CSS code and paste it to Theme Settings >> Custom CSS >> Global CSS section:

    main.wd-content-layout.content-layout-wrapper.container {
        padding-block-start: 0;
    }

    Best Regards.

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