Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
i've tried this code but it looks bad on my site
@media screen and (max-width: 767px) { .index-section.slideshow-container { position: relative; } .slideshow__mobile-text-container { position: absolute; top: 32%; z-index: 999; left: 0; right: 0; background: #000; opacity: .6; } .slideshow__mobile-text-container h2 { color: #ffffff; width: 100% !important; }}
my website is https://www.dubuystore.com/
Hello!
Are you looking for the slideshow text to appear on the image for mobile as well? Or are you simply looking to clean up the styling for when it pushes below the image?
I'm trying to put the text on the slideshow when i view it from my phone.
The same way it shows on desktop.
On phone the text shows below the slide not on it.
So the easiest way to do this would be the following:
@media screen and (max-width: 767px;) {
.slides__text-content--mobile {
display: block;
margin-top: -250px;
}
.slideshow__mobile-text-container {
margin-top: -250px;
padding-bottom: 100px;
}
.slides__title--mobile {
color: #fff;
}
}
This will do the trick, however, its a sloppy solution.
If you would like, I can send you over a collaborator request and clean it up properly for you.
There are some div elements that simply need to be rearranged.
Send me over a message if you want to discuss more 🙂
the website crashes when i paste the code at the end of theme.scss.liquid
I just sent you over a PM
i can’t find it
By 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, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024