I want to remove the space at the bottom of the image

Topic summary

A user seeks to eliminate unwanted bottom spacing on an image in their Empire theme’s last section. They also want left alignment but note that setting “content position” to top left prevents text from spanning the full section width.

Proposed Solutions:

Two responders provided CSS code snippets to address the issue:

  • Solution 1: Navigate to Online Store → Customize → Settings → Custom CSS and add code targeting .sxp-image-with-text-section (bottom margin: 0px), .site-footer-wrapper (top margin: 0px), and .sxp-image-with-text-content (width: 100%)

  • Solution 2: Edit theme code directly via Actions → Edit Code, locate the CSS file (base.css, style.css, or theme.css), and add code for .sxp-image-with-text-content-wrapper.sxp-image-with-text-content-position-y-top with padding-bottom and justify-content properties

Both solutions involve custom CSS modifications targeting specific theme classes. The discussion remains open with no confirmation of which approach resolved the issue.

Summarized with AI on November 8. AI used: claude-sonnet-4-5-20250929.

I want to remove the empty space I have on the bottom image of the last section. Ideally would want it to be left aligned as well, but when I set the “content position” to top left, the text doesn’t span the width of the section.

I am using the Empire theme by the way.

Any help would be greatly appreciated.

URL: https://pickemparts.com/

1 Like

Hi,

To remove the space below the section and set the width of content you need to go to your online store → customize → settings → custom css and paste this code there

@media screen and (min-width: 720px) {
    .pxs-image-with-text-section {
        margin-bottom: 0px;
    }
.site-footer-wrapper {
    margin-top: 0px;
}
    .pxs-image-with-text-content {
        width: 100%;
    }
}
1 Like

Hi @pickemparts

check this one.

From your Shopify admin dashboard, click on “Online Store” and then “Themes”.

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

And Save.

.pxs-image-with-text-content-wrapper.pxs-image-with-text-content-position-y-top {
    padding-bottom: 2rem !important;
    justify-content: flex-start;
}

And save.

Result:

1 Like