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

vseazon
Shopify Partner
44 0 9

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
7726 1504 1510

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 or Buy me a coffee
- 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
44 0 9

it's not working 

vseazon
Shopify Partner
44 0 9

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

Made4uo-Ribe
Shopify Partner
5991 1444 1783

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


vseazon
Shopify Partner
44 0 9

Even when I deleted those lines it stays the same 😞

Made4uo-Ribe
Shopify Partner
5991 1444 1783

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!

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com