WordPress.org

Ready to get started?Download WordPress

Forums

Alignment of images (2 posts)

  1. FCGrabo
    Member
    Posted 5 years ago #

    I'm running WordPress 2.6.2 with the Cutline 3-column split theme and it's working quite nicely. There's just one quirk that I've been living with for quite a while.

    Each time I insert an image into a post, I must go to the HTML pane and delete the word "align" from the alignleft, aligncenter or alignright in the image coding.

    My stylesheet contains the following (if this is what I'm looking for:)

    .entry img.left { padding: 3px; margin: 0.5em 15px 0.5em 0; border: 3px double #bbb; float: left; clear: left; }

    .entry img.right { padding: 3px; margin: 0.5em 0 0.5em 15px; border: 3px double #bbb; float: right; clear: right; }

    .entry img.center { display: block; padding: 3px; margin: 0 auto 1.5em auto; border: 3px double #bbb; float: none; clear: both; }

    .entry img.off { padding: 0 !important; border: none !important; }

    .entry img.stack { clear: none !important; }

    Is there a way to alter the stylesheet so I don't have to delete the characters for every image in every post?

  2. pjwhite
    Member
    Posted 5 years ago #

    I'd love to know an answer to this, too.

    I've found someone who has some answer. See http://www.realestatebloglab.com/blogging-in-general/wordpress-26-a-bear-at-image-handling/

    But I'm such a beginner I don't really know where this should go. Do you adapt it in the .entry img things you've posted from cutline? Or should it go somewhere else?

Topic Closed

This topic has been closed to new replies.

About this Topic