Soliloquy Documentation
Documentation, Reference Materials, and Tutorials for Soliloquy
Documentation, Reference Materials, and Tutorials for Soliloquy
Would you like to style your caption to be side by side of the images? We’ll walk you through what CSS needed to style your caption and image side by side.
IMPORTANT: you may need to adjust your slider dimensions once you have tweaked the CSS to your liking to ensure that your slider is displaying properly.
Your first step will be to install and activate the Soliloquy CSS Addon.
If you need any assistance in installing addons, please take a look at this article.
For this instance, we’ll be installing the CSS Addon.
Next, create a new slider or edit an existing one. You can follow along with our documentation for creating your first slider.
Next, you’ll need to edit your images and add your captions.
To do this, click the blue pencil icon to open the Edit Item window.
Inside the Caption field, add your caption.
Using the right and left arrow keys in the top right corner of the Edit Item window, you can navigate through each slider image adding the caption you wish to appear. Remember to click Save Metadata after each time you add your caption.
The CSS we’ve used in our demo is for the Alternating right and left captions.
You’ll need to change this ID number to match your slider ID number. You can find this by looking in the sidebar of your slider edit screen.
For more information on how to find your slider ID number you can read this article.
You can adjust the max-width
and height
percentages and positioning values as needed to get it looking just right for your specific website.
If you’d like to change this for all sliders, just add the CSS to the WordPress customizer.
Check out our demo of this in action!
Once you click Publish or Update on your slider, you’re all set! You’ve now styled the image and caption to be side by side!
Would you like to only show the caption on hover? Take a look at our tutorial on How to Display Caption on Hover.
A: When changing the max-width of the image, the height is adjusted and therefore the caption CSS height will also need to be adjusted.