Home>Support>Problems with pictures centering within table

Problems with pictures centering within table

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

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

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

    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. 10 years, 2 months ago 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. 10 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    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. 10 years, 2 months ago Paul Offerle

    Perfect. Thank you so much.

  5. 10 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    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.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More