Shopify themes, liquid, logos, and UX
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.
Solved! Go to the solution
This is an accepted solution.
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%;
}
}
This is an accepted solution.
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:
This is an accepted solution.
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%;
}
}
This is an accepted solution.
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:
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025