[resolved] Problems with word wrap and image positioning (2 posts)

  1. ukdic
    Posted 6 years ago #

    Ive recently installed WordPress and I'm using Magazine style theme.

    I'm having problems with word wrapping images, and I'm not sure if its the themes css that's at fault, as when Ive reverted back to the Kubrick theme, it renders correctly.

    When I add an image to the WP editor it positions and wraps where I want it, but when viewing the post, its only left aligned, when I want some of the images right aligned.

    Also when viewing the post, the text doesn't wrap around the image. It just shows above text.

    An example post.

    I'd appreciate some help to resolve this one please?

  2. stvwlf
    Posted 6 years ago #


    you are missing two class definitions from your theme - many themes do not have them. The classes are added to the image by the WP media library. The theme author did not define them in the stylesheet.

    .alignright { float: right; padding: 15px 15px 15px 15px; }
    .alignleft { float: left; padding: 15px 15px 15px 15px; }

    the padding is an approximation. You can adjust to your taste. The order of the 4 settings is top right bottom left.

Topic Closed

This topic has been closed to new replies.

About this Topic