Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi,
i'm using dawn theme
my site is: vaigustando.it.
psw: vaigustando123
In home page there is a rich text section where I have to reduce margins. I tried to play a bit with margins in the custom css but no luck. I need to reduce the margin leaving a 5% of blank on left and right side.
Any help will be apreciated.
Hello,
It's Shraddha.
I would like to suggest you some edits.
This isn't about margin. This is something with block width. You can try adding below css in custom css [Change width in css as per your needs].
.section-template--15794074026167__1561485c-7124-437f-b707-649ff54f92da-padding .rich-text__blocks{max-width: 90rem;}
Let me know how it went.
Thank you
Hi Shraddha,
I think there is something on higher level that block the edit. I can go lower in term of size but not over the acutal size.
In below picture you can see a test with 50% but not more the actual.
Hello,
You have to add below one in your custom css along with the old one we have added.
.section-template--15794074026167__1561485c-7124-437f-b707-649ff54f92da-padding .page-width{max-width: 100% !important;}
Let me know how it went.
Thank you
done. I add it in base.css. both lines are in place
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025