All things Shopify and commerce
Hello, I am trying to add a margin to the left side of the product description in symmetry theme because it is currently in line with the edge of the screen. I have tried using the following code in the style.css.liquid asset but it doesn't work.
.product-description-container{
padding-left: 50px;
padding-right: 50px;
}
Site url is: houseofdudley.com
See example of product description here: https://www.houseofdudley.com/collections/garden/products/black-herb-scissors-set-3
Any help is much appreciated, thanks.
Solved! Go to the solution
This is an accepted solution.
Hello @User1057422
It's GemPages support team and glad to support you today.
You can follow these steps:
1. Go to Online Store -> Theme -> Edit code
2. Open your theme.liquid theme file
3. Paste below code before </body> :
<style>
#shopify-section-product-template .description{
padding: 0 50px;
}
</style>
If you require any further information, feel free to contact me.
Best regards,
GemPages Support Team
This is an accepted solution.
@User1057422
Add This code to
.desktop-only {
margin-left: 50px !important;
}
the bottom of the style.CSS file.
Thank You.
This is an accepted solution.
Hello @User1057422
It's GemPages support team and glad to support you today.
You can follow these steps:
1. Go to Online Store -> Theme -> Edit code
2. Open your theme.liquid theme file
3. Paste below code before </body> :
<style>
#shopify-section-product-template .description{
padding: 0 50px;
}
</style>
If you require any further information, feel free to contact me.
Best regards,
GemPages Support Team
Thank you so much @GemPages , it worked! However, now the social icons are not in line with the description as shown: https://www.houseofdudley.com/collections/decor-2/products/aluminium-and-enamel-condiment-bowls-with...
How could I fix this?
This is an accepted solution.
@User1057422
Add This code to
.desktop-only {
margin-left: 50px !important;
}
the bottom of the style.CSS file.
Thank You.
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