CSS to get non-italic title for Slide In

Hi,

I have activated Slide In, however I want the title of the slide to be "font-style: normal". I have tried a number of things in the Custom CSS box, but nothing worked. Please provide me with the CSS code that will make my slide's title non-italic.
Thanks!

  • Patrick

    Hi @philipp_falkenhausen

    Welcome to the forums!

    You can override the plugin CSS in two ways:

    1. Increase the specificity by pre-pending the parent container class to the selector like this:
    .wdsi-slide-wrap .wdsi-slide-content .wdsi-slide-italic { font-style:normal; }

    2. Add the !important property to the current selector like this:
    .wdsi-slide-content .wdsi-slide-italic { font-style:normal !important; }

    Note that the first option is best practice. Otherwise it can get very tedious very fast trying to keep up with all the !important overrides.

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.