• here’s a link to my blog: http://www.davidsmeaton.com (warning: some nsfw images).

    basically, i centre my images when i add them to the blog, but they never come out centered.

    i don’t know why. i’ve looked through the stylesheet and i can’t see anything that forces left justify.

    yesterday i posted a youtube video. and it centered.

    really weird!

    what could be the cause?

Viewing 2 replies - 1 through 2 (of 2 total)
  • your theme seems to be missing the css for .aligncenter, for instance:

    .aligncenter { display: block; margin: 0 auto; }

    you could try and add this to style.css of your theme.

    Thread Starter superdave

    (@superdave)

    mate, you are a legend!!

    that sorted it! 🙂

    thanks a heap…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘problem 'centering' images in theme’ is closed to new replies.