Caption causes comments to shift to right in single page view (6 posts)

  1. lawvol
    Posted 8 years ago #

    When I activated the plugin, it caused the comments on existing posts to shift to the right where there was a picture. Thus, I deactivated it.

    Any thoughts on why?

    An exemplar page where that occurred is:


  2. eyn
    Posted 8 years ago #

    If you're using "alignleft" CSS class, make sure to clear the float using css "clear: both" right before the entry ends or everything else will appear to the right of the image. fyi, I already mentioned this on the plugin homepage, maybe I'll just add that to the FAQ section.

  3. lawvol
    Posted 8 years ago #

    So would the appropriate way to code that be:

    <img src="/image.jpg" alt="image test" class="alignright" title="CSS class: alignright CAPTION TEXT clear: both">

    Sorry, I am still fairly new to CSS and HTML.

  4. eyn
    Posted 8 years ago #

    Use this for the image:
    <img src="/image.jpg" alt="image test" class="alignright" title="CAPTION TEXT">

    And right before you end your post, put in:
    <div style="clear: both"></div>

  5. lawvol
    Posted 8 years ago #

    Thanks, I appreciate the help... I'll try that this afternoon.

  6. lawvol
    Posted 8 years ago #

    Even using that code, I still cannot seem to get the comments box to remain in place. I suppose it must be something arising from my theme.

    Oh well...

Topic Closed

This topic has been closed to new replies.

About this Topic