Shopify themes, liquid, logos, and UX
Hi there,
I am wanting to remove the padding on left and right in the Dawn theme so that the coloured background stretches the full width of the screen. Is there a custom code or can I edit a current code to show 0 padding on left and right?
I am using the Image with Text section in a few different areas all with different coloured backgrounds. See grey area and orange area.
Solved! Go to the solution
This is an accepted solution.
@AllBellFitness - please use this css
.image-with-text.page-width {padding: 0; width: 100%; max-width: 100%;}
@AllBellFitness - can you please share this page link?
@AllBellFitness - password to view page?
Oh sorry it's shohck
@AllBellFitness - add this css to the very end of your base.css file and check
.image-with-text.page-width {padding: 0;}
@suyash1 It works when I am using my laptop screen but when I move over into a larger screen it isn't responsive like the full width images are. Is there a way to make it responsive for a larger screen?
This is an accepted solution.
@AllBellFitness - please use this css
.image-with-text.page-width {padding: 0; width: 100%; max-width: 100%;}
this is not working for me can someone help?
Where do you put this code?
This is unfortunately not working for me, I tried to put that CSS in:
- the Custom CSS field of the "Image with text" menu
- the Custom CSS field of the "Theme settings" menu
- the base.css file
None of them work (the first one returning an error message that this css command isn't accepted there.
Any other idea o how to remove left and right padding from a "Image with text" section in a Dawn theme?
Regards
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025