Support » Fixing WordPress » Problems with word wrap and image positioning

  • Resolved ukdic


    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?

Viewing 1 replies (of 1 total)
  • Hi

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘Problems with word wrap and image positioning’ is closed to new replies.