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.

Center Align Text in Feature Widget

9 years ago · Last reply by ouderkirk 9 years ago

Hey everyone,

I searched and tried variations of all the previous responses to this question for different alignment of the text for the features widget. Nothing worked, I’m new to this so I don’t know if different versions change the required CSS code or what…the threads are all about a year old.

Anyway, I’d like to center-align my text. It’s ‘justified’ right now and the spacing is very weird looking.

I don’t have a link as the website is not live yet.

Can someone share what I need to put into the “Widget Class” & “CSS Styles” textboxes to make this happen?

Thanks a lot!

This is our free support forum. Replies can take several days.

Need fast email support? Get SiteOrigin Premium

Replies

2
  1. Alex S Staff 9 years, 6 months ago

    Hi Ouderkirk,

    Preface: There is something overriding the default centering CSS. Please note that you can only add inline CSS to the CSS styles textbox as that CSS is directly applied to the row.

    If you navigate to WP AdminAppearanceCustom CSS, you’ll get our custom CSS editor. Add the following CSS:

    .sow-features-list .sow-features-feature {
    	text-align: center !important;
    }

    Does that help?
    You might also need to install the SiteOrigin CSS Editor.

  2. ouderkirk 9 years, 6 months ago

    Hey Alex,

    Sorry for the delayed reply. Having gone back to it, it seems to have fixed itself. Strange. I’ll keep an eye on it, and save this code incase I have to implement it.

    Thanks!

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