1 Like
You can try adding this code to Themes> Edit Code> base.css
Add at the bottom on a new line:
.product__description.rte.quick-add-hidden h1 {
margin-bottom: 1px;
margin-top: 0px;}
Before:
After:
I hope that helps!
@biznazz101
Hi @Simon159 checking the inspector of your URL, maybe works if you locate the section in your product page and add the following css:
With this code on the “h1 class” forcing the margin, you avoid to use the margin-top by default and reduce the margin to zero (0), please try with .h1 as a class.
Hope helps and happy to work together a solution.
Hi @Simon159
Try this one.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.product__description.rte.quick-add-hidden h1 {
margin-top: 0px !important;
}
- And Save.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!