Home>Support>Changing alignment from left to center

Changing alignment from left to center

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. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 8 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    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. 8 years, 2 months ago Private Message - asanoyuki

    This is a private message.

  3. 8 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More