WordPress.org

Ready to get started?Download WordPress

Forums

WPtouch Mobile Plugin
[Plugin: WPtouch] WPTouch - Image/Text Wrapping in Posts (2 posts)

  1. WPdev
    Member
    Posted 2 years ago #

    I am using the WPTouch plugin to create a mobile version of a blog for someone. The blog has an image or two in every post that is approximately 150-250px wide. The image is left or right aligned via WordPress alignleft or alignright. (The user utilizes the WYSIWYG editor to post.)

    When viewing the site on a mobile device, the text is not completely wrapping down the side of the image. Only one line of text wraps with the bottom of the image. The image and text wrapping looks okay in a regular web browser, though.

    Any suggestions regarding this? Thanks for your help.

    http://wordpress.org/extend/plugins/wptouch/

  2. BraveNewCode Inc.
    Member
    Plugin Author

    Posted 2 years ago #

    Images that are equal to or under 250px should be automatically centred. JavaScript is used to do this. If the image does not have it's width declared i.e. (width=250px) in its img tag, then the javascript can't be applied.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags