Need to make an image with text block full width in spotlight theme.

I want to do this on my homepage. I’d also like to do the same for my collection list immediate below the image with text. Help please!

Hi @CapitalC

Please add this code to Custom CSS of those section to make it full width

.page-width {
max-width: 100%; padding: 0 !Important;
}

Thank you - I’m getting this error: “Invalid custom CSS: Certain At-rules are not supported. Try using global CSS.”

If you have a solution please answer with the solution. Thanks.

Could you share your store URL so I can give you the code to make 2 sections full width only/?

Please add this code to theme.liquid file, after in Online Store > Themes > Edit code


Thank you so much - that worked! In the future, if I add another line to that code with a different block type, should it have the same effect? Thanks again, much appreciated.

Yes, it will if you added correct section ID