Different margins on the sides on desktop/mobile

Different margins on the sides on desktop/mobile

manbru
Excursionist
24 0 4

Hello,

 

I'm using this code in theme.liquid and i'm using the Refresh theme:

Skärmavbild 2024-06-19 kl. 12.47.29.png

 

Because I want margin/padding on the sides to make it look like this.

Skärmavbild 2024-06-19 kl. 12.40.32.png

 

But because of the code, it is set to have the same margin on both desktop and mobile, which of course makes it look very bad on mobile. So I'm wondering how to either make it have different margins on desktop and mobile or if you know any other solution. Thanks for the help!

Skärmavbild 2024-06-19 kl. 12.41.16.png

 

 

 

 

 

Replies 3 (3)

techlyser_web
Shopify Partner
1780 330 357

Hello @manbru 
Can you share store URL?

Techlyser || Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
manbru
Excursionist
24 0 4
manbru
Excursionist
24 0 4