WordPress.org

Ready to get started?Download WordPress

Forums

Image Formatr
Active plugin indents text (2 posts)

  1. bolly
    Member
    Posted 11 months ago #

    Hi, the plugin works great save one thing. I have configured my blog so that I have a few images preceeding some associated text, much like a bullet point list but where the bullets are images (not to be enlarged). After this I have another image which I would like to have the ability to enlarge.

    Now, if the plugin is inactive the formatting of the text is very nice. Once activated however, the associated texts (the "bullet point" texts) get indented by something roughly equivalent to a tab-indent in word. This is not wanted and I wonder if there is a way around this issue?

    (I have added the nofx="true" attribute to the bullet point images)

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

  2. Steven Almeroth
    Member
    Plugin Author

    Posted 11 months ago #

    If you know how to use CSS you can make the image and text fit nicely any way you want; the default style is to add a class called img to the surrounding <div> and you can use the admin to add more classes as well.

    You can add something like the following to your theme's style.css file:

    div.img { padding-right: 3px; display: inline }

    or anywhere in your post:

    <style>div.img { padding-right: 3px; display: inline }</style>

    Also, if you don't want any formatting at all, you can use the asis attribute:

    <img src="http://flickr.com/2638_b.jpg" asis="true">

Reply

You must log in to post.

About this Plugin

About this Topic