WordPress.org

Support

Support » Themes and Templates » Align not working!

Align not working!

  • forsubscriptionsonly
    Member

    @forsubscriptionsonly

    url: http://www.photographyfornewbies.com

    I know I’ve seen the solution for this question here before, but I could not find it! I hope someone can help me.

    The text is floating to the left of the images, regardless of what specs I add to the pic – I tried align none, right, center…nothing works.

    There is a way to force the theme to obey whatever alignment I want to apply. Can someone either post it here again or show me where the reply to this question is?

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • supernovia
    Member

    @supernovia

    Hmm, well I’m seeing the images floating to the left and the text to the right. It looks good, IMHO 🙂

    But if you’re meaning to force some images to float right, your posted images have the class .attachment-thumbnail stuck on them, which has a ‘float: left”. If you’re able to apply another class to them, you probably should be able to overpower that float: left with a

    float: right !important

    — you’ll need to redefine your margins and what not while you’re at it.

    FWIW
    -Velda

    forsubscriptionsonly
    Member

    @forsubscriptionsonly

    Hi supernovia.

    I think it looks good on some screens, but in some others it does not look very nice – the text gets squeezed between the side of the image and the sidebar…like two or three words per line only!

    What I really would like to do is to add the image then set the text below it – in the next line after the image. For some reason I am not being able to do that! I will see if I can tweak the class you mentioned.

    Thank you.

    supernovia
    Member

    @supernovia

    If you want to do that, just take out the “float: left” all together. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Align not working!’ is closed to new replies.