Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: White Space Right Side of Page on Mobile View

Solved

White Space Right Side of Page on Mobile View

Paranoia_1999
Shopify Partner
6 0 1

I have this extra white space that grows larger the smaller the screen size gets. I tried most of the solutions found from others but to no avail. Can someone help?

Paranoia_1999_1-1681898282308.png

 

Accepted Solution (1)
saim007
Shopify Partner
609 74 103

This is an accepted solution.

Hi @Paranoia_1999 Please just copy and paste below CSS code in your theme.liquid file above the </body> tag

<style>
img{
max-width: 100%;
}
.shopify-section.product-variant-slider-block__wrapper {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}
</style>

Above code will remove the white space but for your information your site is not Mobile-Responsive (Mobile-Friendly) so designing issue will occur in future. Please fix your issue with hiring web designer to overcome the issues and make your website fully mobile supportive.

 

Please let me know if works and please like mark as solve!

Saim | Shopify Partner Expert

Was I helpful?

Buy me a Coffee

🙂
Hire me   to unlock the full potential of your e-commerce store 🙂

View solution in original post

Replies 7 (7)

saim007
Shopify Partner
609 74 103

@Paranoia_1999 Please share shopify store URL.

Saim | Shopify Partner Expert

Was I helpful?

Buy me a Coffee

🙂
Hire me   to unlock the full potential of your e-commerce store 🙂
Paranoia_1999
Shopify Partner
6 0 1

Hi @saim007  , I apologize for the late response, here's my shopify store URL: https://ptmb86vf08sblie6-65523089652.shopifypreview.com I'm working on a new custom theme.

 

saim007
Shopify Partner
609 74 103

This is an accepted solution.

Hi @Paranoia_1999 Please just copy and paste below CSS code in your theme.liquid file above the </body> tag

<style>
img{
max-width: 100%;
}
.shopify-section.product-variant-slider-block__wrapper {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}
</style>

Above code will remove the white space but for your information your site is not Mobile-Responsive (Mobile-Friendly) so designing issue will occur in future. Please fix your issue with hiring web designer to overcome the issues and make your website fully mobile supportive.

 

Please let me know if works and please like mark as solve!

Saim | Shopify Partner Expert

Was I helpful?

Buy me a Coffee

🙂
Hire me   to unlock the full potential of your e-commerce store 🙂
Paranoia_1999
Shopify Partner
6 0 1

Thank you for the response, this fixed the white space issue but a new one emerged. Now it has this scrollbar on the product slider block section, when I try to put overflow-y:hidden, it cuts the section and the marquee is not visible.

Paranoia_1999_0-1681972513060.png

 

saim007
Shopify Partner
609 74 103

@Paranoia_1999 Just replace this line overflow-x: hidden; with this one overflow: hidden; in your jeff-mobile.css file.

Saim | Shopify Partner Expert

Was I helpful?

Buy me a Coffee

🙂
Hire me   to unlock the full potential of your e-commerce store 🙂
Paranoia_1999
Shopify Partner
6 0 1

@saim007  I have found a work around on this, thank you.

TrendyStitches
Visitor
1 0 0

Hey Saim,

 

i´m having the same problem with the right space on the right site. I figured out that the moving announcement bar is the reason for it. How can  i fix this problem? Your code above didn´t work. URL: TrendyStitches | Caps, Hats und Beanies für JEDEN