Last active
November 13, 2021 03:32
-
-
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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