Shopify themes, liquid, logos, and UX
Need to add some padding to the left to center the second Image with Text section.
Hi @MikaelMo
I dont think i catch up what you mean.
Like this?
if it is here is the code i used.
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:
.section-template--21909981364525__image_with_text_7TWWhj-padding .grid--3-col-tablet .grid__item {
width: 50%;
}
And Save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thanks for your answer!
Not quite, the center on the picture you showed me is correct, but the picture should be the same size as is.
So basically, just move the entire section a bit to the right så it will be centered below the section above. Get me?
Check this one then.
Same Instruction.
.section-template--21909981364525__image_with_text_7TWWhj-padding .image-with-text.image-with-text--no-overlap.isolate {
width: 80%;
margin-left: 20%;
}
And Save.
Result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Find Global Growth Opportunities For Your Business with Shopify AcademyLearn how to exp...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025