Soliloquy Documentation

Documentation, Reference Materials, and Tutorials for Soliloquy

How to Remove the Default Caption Background

Would you like to remove the caption background color? With a little CSS this is quite easy to achieve. We’ll walk you through the steps on how to remove the caption background.

This tutorial is a little more technical as it requires basic knowledge of HTML and CSS.

Setup

Step 1 – Install and activate the CSS Addon

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.

Activate the CSS addon

Step 2 – Create or edit your slider

Next, create a new slider or edit an existing one. You can follow along with our documentation for creating your first slider.

Step 3 – The CSS

Below is the CSS we’ve used in our demo.

To remove the caption background, add this CSS to the Misc tab

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.

.soliloquy-caption-inside { 
  background: transparent !important; 
  filter: none !important; 
  -ms-filter: none !important; 
}
Be sure to update the -321916 with your own slider ID number

If you’d like to change this for all sliders, just add the CSS to the WordPress customizer.

Once you click Publish or Update on your slider, you’re all set!

Check out our demo of this in action!

Would you like to change the the caption to only appear on hover? Check out are article on How to Display Caption on Hover.