Shopify themes, liquid, logos, and UX
Hi, I am looking to reduce the height of my slideshow so that it doesn't cover the whole browser page. Is this possible? My URL is a-lineage-story.myshopify.com and my password is 'beckew'
Solved! Go to the solution
This is an accepted solution.
Please add the following code at the bottom of your assets/theme.scss.liquid file.
@media screen and (min-width: 769px) {
.hero[data-adapt=false], .hero[data-adapt=false] .slideshow__overlay:before {
height: 75vh !important;
}
.hero .slick-list, .hero .slick-track {
height: 100% !important;
width: 100% !important;
}
}
Thanks!
This is an accepted solution.
Remove previous all code and add new code
@media screen and (min-width: 769px) {
.hero[data-adapt=false], .hero[data-adapt=false] .slideshow__overlay:before {
height: 75vh !important;
}
.hero .slick-list, .hero .slick-track {
height: 100% !important;
}
}
Please share store URL & screenshot what do you want.
Thanks!
a-lineage-story.myshopify.com. Password is 'beckew' I want the slideshow to be shorter if possible please
This is an accepted solution.
Please add the following code at the bottom of your assets/theme.scss.liquid file.
@media screen and (min-width: 769px) {
.hero[data-adapt=false], .hero[data-adapt=false] .slideshow__overlay:before {
height: 75vh !important;
}
.hero .slick-list, .hero .slick-track {
height: 100% !important;
width: 100% !important;
}
}
Thanks!
Thank you so much!!
Hi, actually, on every photo besides the first slide, it goes blank showing no photo
Please add css code i will check and send correct code
Done. Please take a look when you're available. Thank you
This is an accepted solution.
Remove previous all code and add new code
@media screen and (min-width: 769px) {
.hero[data-adapt=false], .hero[data-adapt=false] .slideshow__overlay:before {
height: 75vh !important;
}
.hero .slick-list, .hero .slick-track {
height: 100% !important;
}
}
Looks great, thank you!!
Welcome again!
Sorry, I have one more question. Do you know any way to modify the height of the slideshow on mobile?
Please add the following code at the bottom of your assets/theme.scss.liquid file.
@media screen and (max-width: 768px) {
.hero[data-adapt=false], .hero[data-adapt=false] .slideshow__overlay:before {
height: 50vh !important;
}
.hero .slick-list, .hero .slick-track {
height: 50% !important;
}
}
finally i got the right script that worked. Thanks very much.it really helped.
User | RANK |
---|---|
71 | |
66 | |
65 | |
53 | |
46 |
We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023