WordPress.org

Support

Support » Themes and Templates » Center Align The Image- Not The Text Before More Tag

Center Align The Image- Not The Text Before More Tag

  • I am trying to figure out on how to center align the image before the more tag. But leaving the text as it is left aligned. I think by default everything before the more tag is left aligned.

    http://www.fundahstic.com

    The pictures before the more tag are left aligned. I want it to be centered.

    Can anyone help me on this?

    Thank you.

Viewing 1 replies (of 1 total)
  • In one of your stylesheets (I suggest the style.css file) you will need to add this

    .aligncenter{
       display: block;
       margin-left: auto;
       margin-right: auto;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Center Align The Image- Not The Text Before More Tag’ is closed to new replies.