Align not working! (4 posts)

  1. forsubscriptionsonly
    Posted 7 years ago #

    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.

  2. supernovia
    Posted 7 years ago #

    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.


  3. forsubscriptionsonly
    Posted 7 years ago #

    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.

  4. supernovia
    Posted 7 years ago #

    If you want to do that, just take out the "float: left" all together. :-)

Topic Closed

This topic has been closed to new replies.

About this Topic