Center align text

How do you center align text?

@marcelcroy,

You can check here on how to center a text.

https://www.w3schools.com/cssref/pr_text_text-align.ASP

Hope that helps.

Thank you.

Yes but how do i control that in the row settings? I do not see anywhere to adjust text orientation or add css?

Hi @marcelcroy,

You either go to the Column settings in Cornerstone / Content builder and set the Text Align to Center (see screenshot)

image

Or go to the Text element’s settings directly and set the Text Align to Center (see screenshot)

image

Hope this helps!

I cant get access to that. This was built before cornerstone came out.


Screen Shot 2020-07-21 at 9.28.13 AM

Hi @marcelcroy,

Seems you are using WP Bakery page builder and using its Text Block element to show the text.
You can set the text-align center using the option of the Text Block element.

Hope it helps.

Thanks

The problem is i cannot get into those settings. Clicking on the green text block does nothing. :frowning:

Hi @marcelcroy,

Since you are using WPBakery Page Builder we can’t help you why the text block is not opening but I will give you an idea on how to center your row settings since you already had an ID on your section, you can use this CSS code and it to X > Theme Options then CSS.

#x-content-band-1 {
  text-align: center;
}

The code should work provided it’s copied completely. If that doesn’t work on your end, that means there’s an error with other custom codes you’ve added to your site. For that case, please consult with a 3rd party developer because providing custom code or custom development is outside the scope of our theme support.

Hope that helps.

Thank you.

OMG so simple! Thanks so much!! :slight_smile:

@marcelcroy,

It’s our pleasure to help you.

Thank you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.