Shopify themes, liquid, logos, and UX
On my mobile I want the slideshow to be Small, and on desktop to be medium. My plan is to have two slideshow sections and hide the small one on the desktop, and hide the medium one on the mobile.
So how can I make a slide hidden on specifically mobile / desktop view
Solved! Go to the solution
This is an accepted solution.
Hi @lukafernada,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
@media only screen and (min-width: 750px) {
#shopify-section-template--20584607220061__slideshow_NhjrjP {
display: none;
}
}
@media only screen and (max-width: 749px) {
#shopify-section-template--20584607220061__5a90b9b4-ada0-472e-93a0-a9e4e6fcd0b8 {
display: none;
}
}
</style>
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
This is an accepted solution.
Hi @lukafernada,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
@media only screen and (min-width: 750px) {
#shopify-section-template--20584607220061__slideshow_NhjrjP {
display: none;
}
}
@media only screen and (max-width: 749px) {
#shopify-section-template--20584607220061__5a90b9b4-ada0-472e-93a0-a9e4e6fcd0b8 {
display: none;
}
}
</style>
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
- Here is the solution for you @lukafernada
- Please follow these steps:
1. Go to Online Store --> Theme --> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head> and press 'Save' to save it
<style>
@media only screen and (max-width: 599px) {
section#shopify-section-template--20584607220061__5a90b9b4-ada0-472e-93a0-a9e4e6fcd0b8 {
display: none !important;
}
}
@media only screen and (min-width: 600px) {
section#shopify-section-template--20584607220061__slideshow_NhjrjP {
display: none !important;
}
}
</style>
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024