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!
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.
@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?
@CeylonThreads , do this to fix it in 20 seconds :
In your Shopify Admin go to: online store > themes > actions > edit code
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
Glb_ag
June 14, 2022, 1:45am
15
@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
Glb_ag
June 14, 2022, 3:23am
17
1 Like
@Glb_ag
yes, please add this code
Go to Online Store->Theme->Edit code
Asset->/theme.css ->paste below code at the bottom of the file.
@media (max-width: 749px) {
.slideshow__btn {top: 70px;}
}
Glb_ag
June 14, 2022, 4:48am
19
Thank you, it shows, but still placed down below.
Glb_ag
June 22, 2022, 3:54am
20
Hi, is there any other solutions?