WordPress.org

Ready to get started?Download WordPress

Forums

lorem shortcode
change request -- make parent div of loremimage take on style in shortcode (1 post)

  1. etellewyn
    Member
    Posted 1 year ago #

    Hi there, Just a change request --
    I just activated on a fresh install running TwentyTwelve and am noticing a problem with the alignment of images. When I use the code below

    [lorem]
    [loremimage size="200" style="float:left"]
    [/lorem]

    resulting page puts the styled image inside of a parent div that is floated to the RIGHT. so the float:left of the image inside has no effect. This is annoying since the theme I will be developing looks best with images floated to the left.

    Wondering if you might be able do this without wrapping the image in a parent div? Or if you do have to, maybe you can do grab the style parameter of the image and place it on the enclosing div instead. Otherwise, many of the styles we apply to images will have no effect.

    Thanks for an otherwise great plugin!

    http://wordpress.org/extend/plugins/lorem-shortcode/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.