I’m trying to increase the padding on both sides of this section on my homepage:
I tried this code:
#shopify-section-template–18647897538772__rich_text_B7Na4W .p {
max-width: 50% !important;
}
but it didn’t work. What am I doing wrong?
Site: https://maison-rouge-ny.myshopify.com/
PW: thifis
1 Like
DaisyVo
2
Hi @jasminsharp97
To complete your requests, please follow these steps:
- Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
- Paste the code provided into the Custom CSS section.
#shopify-section-template--18647897538772__rich_text_B7Na4W p {
max-width: 50% !important;
margin-inline: auto;
}
Here is the result: https://prnt.sc/tZCBWrf2mfUk
I hope this helps
Best,
Daisy
This is Richard from PageFly - Shopify Page Builder App
Hi @jasminsharp97 Please follow image here to fix it:
https://monosnap.com/direct/MGqpcFy64DwQMGBQcTyFiaiavjUZaP
Hope my solution will help you resolve the issue.
Best regards,
Richard | PageFly
I tried, but it gave me an error and said I couldn’t save my CSS because there’s an error and it’s invalid CSS.
DaisyVo
6
HI @jasminsharp97
Please try the code I provide you here
Best,
Daisy
Oh i got it. maybe we should dig deeper into this element. But I just saw you fixed it. Thank you.