• Resolved ryan707

    (@ryan707)


    I want to insert a photo on the top left side with some white space around it and also would like the post to wrap around the photo. As I have it the photo is right next to the text and the text starts at the bottom right corner of the photo. Not how I wanted it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • 1. put you cursor in the text where you want the image.
    2. Open the Media Box thingy.
    3. navigate to the image that you want to add to your post.
    4. Under alignment, choose left.
    5. Click “Insert Into Post”.

    This will only work if your theme supports WordPress’ built in image alignment css classes. While most themes should support this code, not all do. If you find that you have followed the steps above and have not had the results you are looking for, you can try to add the following code at the bottom of your theme’s style.css file:

    img.centered {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    	}
    
    img.alignright {
    	padding: 4px;
    	margin: 0 0 2px 7px;
    	display: inline;
    	}
    
    img.alignleft {
    	padding: 4px;
    	margin: 0 7px 2px 0;
    	display: inline;
    	}
    
    .alignright {
    	float: right;
    	}
    
    .alignleft {
    	float: left
    	}

    Best of luck,
    -Mike

    Thread Starter ryan707

    (@ryan707)

    Awesome. This code worked perfectly. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to insert photos properly’ is closed to new replies.