Home>Support>How can I make text-widget title (h3) center and content-text justify?

How can I make text-widget title (h3) center and content-text justify?

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi!

I am using PageBuilder and added a text-widget.

I want the title (h3) to be center, but my text should be justify. How can I do that?

I’ve tried this but it won’t work:

border: 2px solid #039bd5;
text-align: justify;

.widget_headline-widget h3 {
text-align: center !important;
}

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

  1. 9 years, 3 months ago Alex S
    Hi, I Work Here

    Hi BeamX1,

    You can change this with some custom CSS. If you navigate to AppearanceCustom CSS, you’ll get our custom CSS editor. Just add the following code.

    .widget_text .widget-title {
    	text-align: center;
    }
    
    .widget_text .textwidget, .widget_text .textwidget p {
    	text-align: justify;
    }
    

    You might also need to install the SiteOrigin CSS Editor.

  2. 9 years, 3 months ago BeamX1

    Thank you, Alex!

  3. 9 years, 3 months ago Alex S
    Hi, I Work Here

    Hi BeamX1,

    Happy to help. Is there anything else I can help you with today?

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