Shopify themes, liquid, logos, and UX
I'm trying to create a website that displays different image banner and slide sizes on desktop and mobile. I've designed the desktop view to my liking, but when I switch to mobile view, the top slideshow and two image banners appear too large. How can I adjust these sizes for desktop without affecting the mobile view?
Solved! Go to the solution
This is an accepted solution.
Hey @kisslandbeauty_
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 screen and (max-width: 767px) {
.slideshow__media.banner__media.media img {
height: 240px !important;
}
.banner__content {
display: none !important;
}
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hey @kisslandbeauty_
Your store is password protected, can you share the password as well?
Best Regards,
Moeed
pass: dausaw
This is an accepted solution.
Hey @kisslandbeauty_
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 screen and (max-width: 767px) {
.slideshow__media.banner__media.media img {
height: 240px !important;
}
.banner__content {
display: none !important;
}
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
So it doesn't work or not sure but its a slideshow not the banner section
It worked thanks!
Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.
Could you please share the store password with me?
Thank you!
Best,
Daisy - Avada Support Team.
password: dausaw
Please create 2 Image banner sections, then add this code to Custom CSS of each section.
@media (max-width: 749px) {
.banner { display: none; }
}
@media (min-width: 750px) {
.banner { display: none; }
}
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Tried adding it but it gave me an error. Where exactly would I apply this at?
when I apply that it removes the banner
Create 2 image banner sections and add CSS code to Custom CSS of each section
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
what if its a slide show banner because it still doesn't work
Please use those codes for the slideshow
@media (min-width: 750px) {
slideshow-component { display: none; }
}
@media (max-width: 749px) {
slideshow-component { display: none; }
}
- Helpful? Like and Accept solution! Or Support me: Buy Coffees
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024