How can I fix the right gap in mobile view?

Solved

How can I fix the right gap in mobile view?

GrainneRyles
Tourist
4 0 1

Screenshot from 2023-06-07 13-11-16.png

 

Hey Guys, I tried to fix this issue but to no avail. when i swap between desktop and mobile view, there is a gap on the right in mobile view. I tried so many things to fix it but my solution gets undone when i reload the page. Any Idea how to fix this will be much appreciated

Accepted Solutions (2)
Moeed
Shopify Partner
7080 1903 2333

This is an accepted solution.

Hey @GrainneRyles 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag.

 

<style>
@media (max-width: 767px) {
slideshow-component {
    width: 110% !important;
}
}
</style>

 

Moeed_0-1686141544591.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Moeed
Shopify Partner
7080 1903 2333

This is an accepted solution.

Hey @GrainneRyles 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag.

<style>
@media (max-width: 767px) {
.color-accent-2.isolate.gradient {
    width: 110% !important;
}
.color-accent-1.isolate.gradient {
    width: 110% !important;
}
.multicolumn.color-accent-2.gradient.background-primary {
    width: 110% !important;
}
}
</style>

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

 

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 6 (6)

Moeed
Shopify Partner
7080 1903 2333

Hey @GrainneRyles 
Kindly share your Store URL and Password if enabled

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


GrainneRyles
Tourist
4 0 1

my apologies its https://rylespharmacy.ie/ and there is no password

Moeed
Shopify Partner
7080 1903 2333

This is an accepted solution.

Hey @GrainneRyles 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag.

 

<style>
@media (max-width: 767px) {
slideshow-component {
    width: 110% !important;
}
}
</style>

 

Moeed_0-1686141544591.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


GrainneRyles
Tourist
4 0 1

Hey @Moeed Thank you for the speedy response. It has fixed the slideshow width but not the featured products components as  shown in the picture below.  I am assuming i would do a similar media size for that component. I am not sure what the component would be called in CSS

Screenshot from 2023-06-07 13-37-49.png

Moeed
Shopify Partner
7080 1903 2333

This is an accepted solution.

Hey @GrainneRyles 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag.

<style>
@media (max-width: 767px) {
.color-accent-2.isolate.gradient {
    width: 110% !important;
}
.color-accent-1.isolate.gradient {
    width: 110% !important;
}
.multicolumn.color-accent-2.gradient.background-primary {
    width: 110% !important;
}
}
</style>

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

 

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


GrainneRyles
Tourist
4 0 1

@Moeed you are an absolute hero. Thank you for your time today. You have given me a greater understanding of shopify. Its been a pleasure.