This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Image Widget Title CSS adjustment

8 years ago · Last reply by Alex S 8 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Alex S Staff 8 years, 10 months ago

    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.

Have a different question or issue?

Start New Thread