WordPress.org

Support

Support » Themes and Templates » center content in full width page?

center content in full width page?

  • Hello, I’m setting up a photoblog using wordpress. I’m experimenting with using a full width page (width: 100%), and now I need to ensure that my photos are centered on the page. So far I only know how to set a left or right margin, but there must be a way to ensure that the photo (ie post content) is centered?

    thanks

Viewing 1 replies (of 1 total)
  • You could try adding display: block; to whatever your css selector is for post content, or more specifically:

    .post-content img {
    display: block;
    }

Viewing 1 replies (of 1 total)
  • The topic ‘center content in full width page?’ is closed to new replies.
Skip to toolbar