I need to reduce the padding in between the side of the screen and the image and text section. I’ve attached an image for reference below.
URL: https://john-pitre-fine-art.myshopify.com/products/products-night-street
Password: whuyea
Goal: reduce side padding around an image-and-text section on a Shopify product page (password-protected; screenshot provided).
Access: The shared product URL initially returned 404 for a helper; access was clarified via the password page link.
Attempted fix: CSS added in theme.css to set the section’s .page-width to max-width: 100% and padding: 0 had no visible effect.
Working fix: Targeted CSS for the specific section ID succeeded. Changes:
Additional suggestion: An optional media query to globally adjust layout on large screens:
Outcome: The OP confirmed the second CSS solution worked. Status: Resolved.
I need to reduce the padding in between the side of the screen and the image and text section. I’ve attached an image for reference below.
URL: https://john-pitre-fine-art.myshopify.com/products/products-night-street
Password: whuyea
Hello @JuliaRiv
I can see “404 Page Not Found” on this https://john-pitre-fine-art.myshopify.com/products/products-night-street
Thanks
@Parth_Sutariya Can you try this? I’m able to access it without problem
Please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.
#shopify-section-template--15191644897457__text-and-image2 .page-width {
max-width: 100% !important;
margin: 0 auto;
padding: 0px!important;
}
Thanks!
@dmwwebartisan I added the code, but there was no change.
Hello @JuliaRiv
You can add the below code at the end of your theme.css file
#shopify-section-template--15191644897457__text-and-image2 .feature-row__text {
padding-left: 40px;
}
#shopify-section-template--15191644897457__text-and-image2 .feature-row {
margin: 0 2%;
}
That worked, thank you! ![]()