WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. lawvol
    Member
    Posted 6 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:
    http://gate21.net/2008/02/03/congrats-to-eli-manning-the-giants/

    http://wordpress.org/extend/plugins/image-caption/

  2. eyn
    Member
    Posted 6 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
    Member
    Posted 6 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
    Member
    Posted 6 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
    Member
    Posted 6 years ago #

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

  6. lawvol
    Member
    Posted 6 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