Forums

problem 'centering' images in theme (3 posts)

  1. superdave
    Member
    Posted 1 year ago #

    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?

  2. alchymyth
    The Sweeper
    Posted 1 year ago #

    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.

  3. superdave
    Member
    Posted 1 year ago #

    mate, you are a legend!!

    that sorted it! :)

    thanks a heap...

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.