How to move all product info a little bit to right on mobile version?

Hi everyone!

I have problem with description of my products. Its stick to the left side and its only like that on mobile/small version

How can I move container with description etc. a little bit to the right so the words will not be at the “edge” of the site? (I dont want to move it on desktop version)

This is how it look on mobile version:

And this is how it looks at pc version:

Here is preview of my page: (shop is offline)

https://eq8b50qgsmb9iyrg-92656828751.shopifypreview.com

Thanks!

2 Likes

Hey @Noissy .

Here’s how to fix that:

  • Navigate to Online Store > Three dots > Edit code
  • Find the theme.liquid file
  • Paste the code below right before the closing tag
  • Save and hard-refresh the storefront

If applied correctly, the result should be as follows :

1 Like

Hi @Noissy

Please add this code to Custom CSS in Sales Channels > Online store > Themes > Customize > Theme settings.

@media (max-width: 749px) {
    .product .product__info-wrapper { padding: 0 2rem; }
}
1 Like

Hello @Noissy

Go to Online Store, then Theme, and select Edit Code.
Search for assets/base.css Add the provided code at the end of the file.

@media (max-width: 749px) {
.product .product__info-wrapper { padding: 0 2rem; }
}
1 Like

HEllo @Noissy
Go to online store ----> themes ----> actions ----> edit code ----> assets ----> section-main-product.css
add this code at the end of the file and save.

.product.product--large.product--left.product--columns.product--mobile-show.grid.grid--1-col.grid--2-col-tablet {
margin: 30px !important;
}

Result

If this was helpful, hit the like button and accept the solution.
Thanks