Beloved - How to Display Slider Caption on Mobile
If you'd like to have the slider caption display on mobile devices, navigate to Appearance > Customize > Additional CSS and add the code below:
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 only screen and (max-width: 600px) { | |
div.soliloquy-container .soliloquy-caption { | |
display: block; | |
padding: 0; | |
} | |
div.soliloquy-container .soliloquy-caption-inside { | |
padding: 5px; | |
} | |
div.soliloquy-container .soliloquy-caption h2 { | |
font-size: 20px; | |
line-height: 0; | |
} | |
div.soliloquy-container .soliloquy-caption h3 { | |
font-size: 12px; | |
} | |
} |