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
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025