Skip to content

Instantly share code, notes, and snippets.

@dpw1
Last active November 13, 2021 03:32
Show Gist options
  • Save dpw1/8df5519215d19c080d697902d48276e0 to your computer and use it in GitHub Desktop.
Save dpw1/8df5519215d19c080d697902d48276e0 to your computer and use it in GitHub Desktop.
Code to make the Debut slideshow text show inside the images on mobile
@media (max-width: 767px){
.slideshow__title,
.slideshow__subtitle {
display: block !important;
}
.slideshow__text-content--mobile,
.slideshow__title--mobile,
.slideshow__subtitle--mobile{
display: none !important;
}
.slideshow__title{
font-size: 32px !important;
}
.slideshow__subtitle{
font-size: 15px !important;
}
[data-section-type="slideshow-section"] .slideshow__overlay{
background: #000;
opacity: 0.25;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment