• Resolved esone

    (@esone)


    For some reason, images in my About me, and other pages (Haven’t tested a post yet) will not center. When centered, it is aligned FAR left. When I align left, it goes a bit further right than when it is set as centered. Align right puts it to the right, as it is supposed to.

    https://pandaandpenguin.com/?page_id=2

    That picture is “aligned right” how do I make them truly centered?

Viewing 1 replies (of 1 total)
  • To fix just this image, click on the HTML (as opposed to Visual) tab and change:

    <img height="225" width="300" alt="Pandar n me" src="https://pandaandpenguin.com/wp-content/uploads/2009/10/pandar.jpg" title="Pandar n me" class="alignright size-full wp-image-12"/>

    to

    <img height="225" width="300" alt="Pandar n me" src="https://pandaandpenguin.com/wp-content/uploads/2009/10/pandar.jpg" title="Pandar n me" class="aligncenter size-full wp-image-12" style="padding: 0pt; float: none;" />

    for a more permanent fix go into the style.css file (line 371) and replace

    .aligncenter,
    div.aligncenter {
       display: block;
       margin-left: auto;
       margin-right: auto;
    }

    with

    .aligncenter,
    div.aligncenter {
       display: block;
       margin-left: auto;
       margin-right: auto;
       padding: 0;
       float: none;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘Alignment issue’ is closed to new replies.