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.

Changing alignment from left to center

9 years ago · Last reply by Andrew Misplon 9 years ago

I’m using Page Builder for my website and used the code

.entry-content h3 {
  display: table-header-group;
}

in the SiteOrigin Custom CSS window to move my header closer to the content as there was a lot of white space caused by the header image – example below.

What this did was make me unable to center titles with H3 image size, and I would like to be able to align some H3 headers center and some left. Does anyone know how to fix this?

Thanks!

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

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. Andrew Misplon Staff 9 years, 7 months ago

    Hi Asanoyuki

    Do you have a public URL where we can take a look at what’s going on? If you need to keep this URL private from other users, just select “Private Reply” on the bottom right of the comment box.

  2. asanoyuki Private 9 years, 7 months ago

    This is a private message.

  3. Andrew Misplon Staff 9 years, 7 months ago

    Thanks for the update.

    It isn’t the problem but a quick note that it isn’t possible to insert CSS rules into the widget styles field. For example:

    .post_title { text-align: center; }

    The above can’t be inserted into the widget styles field. A rule within an inline style tag won’t work.

    If you remove the display: table-header-group declaration the center align declaration will work.

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