Shopify themes, liquid, logos, and UX
Hello,
How do I remove the top and left margin on my product image on the product page? I use the Dawn Theme.
I want the information on the right side to stay the same.
Thanks in advance!
Hello @hug1
I would like to give you the recommendation to support you so kindly follow steps below:
1. Go to your Online store > Themes > Edit code
2. Open your theme.liquid file
3. Paste the below code before </body>
<style>
#MainContent .shopify-section > .page-width{
padding-top:0px !important;
padding-left:0px !important;
}
</style>
I hope the above is useful to you.
Best regards,
GemPages Support Team
Hi, thank you for this. How ever, is there a way to do this only on mobile? And not changing the padding of the copy below the image?
Hi again and thank you!
Is there a way to do this only on mobile? And not changing the padding of the copy below the image?
Hi @GemPages this is great help but i need more info - where exactly do we paste this code? As i cannot see </body> on the theme liquid file
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025