Forums

[resolved] Image Alignment (5 posts)

  1. Yemoonyah
    Member
    Posted 3 years ago #

    I don't seem to be able to align my images center, they keep coming up aligned to the left. In editor it works fine, but in post they are back to the left.
    Example: http://kabai33.com/2008/08/07/seo-rapper/

    thanx

  2. stvwlf
    Member
    Posted 3 years ago #

    Hi

    i was able to center the photo in your post by putting a div tag around your image tag

    find this in the post code (HTML tab in the editor)

    <`a title="Permanent Link to SEO-Rapper" rel="bookmark" href="http://kabai33.com/2008/08/07/seo-rapper/">
    <img class="photo_align_center_single" alt="SEO-Rapper" src="http://kabai33.com/wp-content/uploads/2008/08/chuck-photo4.jpg"/>
    `

    put this before that line:
    <div align="center">

    and this after that line"
    </div>

    then save. that should do it.

  3. stvwlf
    Member
    Posted 3 years ago #

    that first block of code didn't print correctly in my response.

    it looks like this:

    <a title="Permanent Link to SEO-Rapper" rel="bookmark" href="http://kabai33.com/2008/08/07/seo-rapper/">
    <img class="photo_align_center_single" alt="SEO-Rapper" src="http://kabai33.com/wp-content/uploads/2008/08/chuck-photo4.jpg"/>
  4. Yemoonyah
    Member
    Posted 3 years ago #

    thanks for the help but my theme uses custom fields to insert the images in the gallery on my homepage and in the single posts, so the image code doesn't show up in the code editor.

  5. Yemoonyah
    Member
    Posted 3 years ago #

    and of course I read the sticky and put the additional code in my css but nothing changed, my images are still aligned left.

Topic Closed

This topic has been closed to new replies.

About this Topic