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.

Problems with pictures centering within table

Resolved 5 replies premiumthemetheme-origami
Started · Latest reply by Andrew Misplon

The second and third pictures on the page look perfectly centered over the fourth picture in the dashboard but do not on my site:

Spanish Prayer Group

Here is the code:

 

URL: http://saintpatrickfw.com/spanish-prayer-group/

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

Need fast email support? Get SiteOrigin Premium

Replies

5
  1. Andrew Misplon Staff

    Hi Paul

    If you’re comfortable working with the table in Text view you could add an inline style as follows:

    <td align="center" style="text-align: center;">

    OR if all the tables on this page need to be centered, you could insert into Appearance > Custom CSS:

    /* Home */
    .home table tr td {
    text-align: center;
    }
  2. Paul Offerle

    What troubles me is that it looks perfectly aligned in the website’s dashboard. Here is the latest code but the same problem:

  3. Andrew Misplon Staff

    Hi Paul

    Each image has the following inline style:

    style="margin: 0; border: 0; padding: 0; display: block;"

    If you remove the display: block; declaration the page should render as expected.

  4. Paul Offerle

    Perfect. Thank you so much.

  5. Andrew Misplon Staff

    For sure. Glad we could help :)

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