Home>Support>Image Widget Title CSS adjustment

Image Widget Title CSS adjustment

Hello everyone,

I have been trying to figure out how to use the Widget Styles – -> Attributes – -> CSS styles to change the h3 font size form the preset 32px to a smaller 20px.

I will be doing this for 6 SiteOrigin Image Widget within one Row

I am creating a Portfolio page that has the initial image for each of the full page section. I have tried to the following in the CSS Styles box:
h2.widget-title {font-size: 20px !important;}

I have read the documentation but still cannot get this to work. Your help is greatly appreciated!!

Thanks,
Hank Leander

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 6 months ago Alex S
    Hi, I Work Here

    Hi Hank,

    The CSS Styles field you’re using is actually only for inline styles. That means that the following CSS will work:

    color: #0f0;
    border-top: 2px solid #0f0;
    

    But this CSS won’t:

    .example {
        color: #0f0;
        border-top: 2px solid #0f0;
    }
    

    Please open the row that houses the SiteOrigin Image widgets you’re trying to affect and head over to the row styles sidebar. Open the Attribute settings group and remove the selectors from your CSS Styles field. Then set the row class to larger-widget_title and then save.

    Please navigate to WP Admin > Appearance > Custom CSS and add the following CSS:

    .larger-widget_title h2.widget-title {
    	font-size: 20px !important;
    }
    

    You might also need to install the SiteOrigin CSS Editor.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More