WordPress.org

Ready to get started?Download WordPress

Forums

How to display post images center aligned? (2 posts)

  1. FunFused.com
    Member
    Posted 2 years ago #

    How to center align images in posts? If I put it in gallery then it gets center aligned, but individual images when inserted despite "center aligning" does not display it in center. Can anyone help me?

    Here's a demo:
    http://www.funfused.com/places/china-2/

    Thanks!

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    http://codex.wordpress.org/Wrapping_Text_Around_Images

    posibly add a style like this to style.css of your hteme:

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

Topic Closed

This topic has been closed to new replies.

About this Topic