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.

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

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

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.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Alex S Staff 9 years, 10 months ago

    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. BeamX1 9 years, 10 months ago

    Thank you, Alex!

  3. Alex S Staff 9 years, 10 months ago

    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.

Have a different question or issue?

Start New Thread