Debut Theme Slideshow -SHOP NOW' Button Mobile

Hi I need some help with my debut theme code.

The version on my laptop seems fine but when i look at it through mobile my ‘Shop Now’ Button on my Landing page slideshow is below the image. Which i find very odd and annoying!
Please can someone help me out here?

Thank you

1 Like

@CeylonThreads

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community! :blush:
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

My site isn’t published yet, but I am still doing it. I have attached a
picture for your reference on how it looks on the laptop and on the
iphone.

[image: WhatsApp Image 2021-09-16 at 6.11.59 PM (1).jpeg]

@CeylonThreads
kindly share your site preview link so,
I can solve it.
Thank You.

https://www.ceylonthreads.com/

1 Like

@CeylonThreads
Share your store password.
Thank You.

@CeylonThreads

thanks for url bt your store is password protect

1 Like

my password is prawnzypiee

Store url : ceylonthreads.com

Password : prawnzypie

hii, @CeylonThreads
Paste this code on top of the theme.scss file.

@media only screen and (max-width: 749px){
.page-width {
    margin-top: -200px !important;
}
}

Thank You.

I cant find theme.scss file , where can i find it?

https://8wxvbqy4d00c5jej-59254669518.shopifypreview.com

nothing has changed it looks the same on mobile

@CeylonThreads , do this to fix it in 20 seconds:

  1. In your Shopify Admin go to: online store > themes > actions > edit code
  2. Find Asset > theme.css and paste this at the bottom of the file:
@media (max-width: 749px){
    .slideshow__btn{
    display: inline-block !important;   
    margin: 0 auto;
    text-align: center;
}

.slideshow__text-content--mobile{
    display: none !important;
}

.slideshow__btn-wrapper{
    text-align: center !important;
}

.index-section--slideshow{
    margin-bottom: -30px;
}
}

This is how it will look like on mobile:

Please let me know whether it works.

Kind regards,
Diego

2 Likes

Perfect! It worked! thank you so much for your help :grinning_face_with_smiling_eyes:

@diego_ezfy Hi, I am facing the same issue and tried this solution, but it didn’t work.

The shop now button completely disappeared. Is there any solution I can try?

@Glb_ag

can you please share store url

https://shop.livelyhotels.com/

1 Like

@Glb_ag

yes, please add this code

  1. Go to Online Store->Theme->Edit code
  2. Asset->/theme.css ->paste below code at the bottom of the file.
@media (max-width: 749px) {
.slideshow__btn {top: 70px;}
}

Thank you, it shows, but still placed down below.

Hi, is there any other solutions?