Shopify themes, liquid, logos, and UX
Hi there,
I'm trying to remove the 'shop now' button on my homepage slideshow on mobile only, as it covers the entire image on mobile.
I know I have to edit the theme's code to do this but I don't know which part and what to say
Help appreciated
cheers
Erica
Solved! Go to the solution
This is an accepted solution.
I’m Richard Nguyen from PageFly- Free Landing Page Builder
You can try with this code.
Follow this:
Go to Online Store->Theme->Edit code->base.css->paste bellow code in bottom of file
@media screen and (max-width: 767px){
.banner__buttons {
display: none !important;
}
}
If you feel my answer is helpful, like it or mark it as a solution. Let me know if you have any questions.
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Please add below css code in bottom of assets/base.css file
Thanks for the reply. Unfortunately that didn't work! Do you have any other suggestions?
Another option would be to make the button below the slideshow instead of on top of it - if you can instruct me how to do that. Thanks!
This is an accepted solution.
I’m Richard Nguyen from PageFly- Free Landing Page Builder
You can try with this code.
Follow this:
Go to Online Store->Theme->Edit code->base.css->paste bellow code in bottom of file
@media screen and (max-width: 767px){
.banner__buttons {
display: none !important;
}
}
If you feel my answer is helpful, like it or mark it as a solution. Let me know if you have any questions.
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
That worked! thank you so much!
This works, but it adds a gap, how can this be removed?
How do I fully hide the slide (the photo, button and basically everything on it) from the mobile version?
I got the answer from a support tech from PageFly. For anyone having the same question, this is the code for removing the entire slide from the mobile version:
@media screen and (max-width: 768px) {
.slider.slider--everywhere
.slider__slide {
display: none;
}
}
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025