Why isn't my website page width at 100% on mobile?

vseazon
Shopify Partner
46 0 10

Hello,

 

My website page with is not at 100% on mobile it's not full screen how can I do ? 

 

website: https://479a7a-a6.myshopify.com/products/ambienza

 

Image explaining: 

vseazon_2-1711699248443.png

 

 

 

 

 

 

Replies 6 (6)

Dan-From-Ryviu
Shopify Partner
7931 1543 1574

Hi @vseazon 

This is the function of product image slider. Please add this code to the bottom of section-main-product.css file to make it full-width

@media(max-width: 749px) {
.slider.slider--mobile {
    scroll-padding-left: 0 !important;
}
.product__media-list .product__media-item {
    width: 100% !important;
}
}

 

 

- Helpful? Like and Accept solution to let me know or Donate
- Ryviu - Product Reviews app, collect product reviews, import reviews from AliExpress, Amazon, Etsy, Shopee and Walmart and CSV.
- Lookfy app: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Enjoy 1 month of Shopify for $1. Sign up now.

vseazon
Shopify Partner
46 0 10

it's not working 

vseazon
Shopify Partner
46 0 10

it's not working the first 1 seconde yes and after no you can check on your phone

Made4uo-Ribe
Shopify Partner
6407 1538 1908

Hi @vseazon 

Seems like you add some codes that give the result on that one. Youll notice the changes only on the screen size 576px. And the worst thing is there is 2 of them that same over ride codes just repeating. Is this code. 

Made4uoRibe_0-1711714188063.png

Im not sure where is this located looks like in the theme.liquid or the product.liquid its named ambienza file. 

 

 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
vseazon
Shopify Partner
46 0 10

Even when I deleted those lines it stays the same 😞

Made4uo-Ribe
Shopify Partner
6407 1538 1908

Check this one then:

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:

 

@media screen and (max-width: 749px){
.slider.slider--mobile { 
    gap: 20px;
}
}

 

And Save. 

Result:

Made4uoRibe_0-1711717037027.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.