Hi, how do I change the margins for the product page for the desktop only? I would like to increase the top margin by 60 px. I do not have a theme.scss.liquid, only a styles.css.liquid. My website is www.luxoptions.com and I have a third party theme. Thanks for any help you can provide.
Hello There,
- In your Shopify Admin go to online store > themes > actions > edit code
- Find Asset >styles.css and paste this at the bottom of the file:
div#shopify-section-template--16989919969572__main {
margin-top: 60px;
}
this is changing the margins on the mobile product page as well. I want it to change on only the desktop version
1 Like
Hello There,
- In your Shopify Admin go to online store > themes > actions > edit code
- Find Asset >styles.css and paste this at the bottom of the file:
@media (min-width: 768px) {
div#shopify-section-template--16989919969572__main {
margin-top: 60px;
}
}
