Support » Fixing WordPress » Alignment of a Photo with Text on a Page

  • Resolved sagdude2002


    I uploaded a photo onto one of my pages. I selected Alignment Left and inserted the photo onto the page. Everything looks fine on the Edit Page Screen. However, when I look at the actual website page the text starts next to the bottom right of the picture instead of next to the top right of the picture which is where I want it. I even tried to insert another picture that aligned correctly on another page but it didn’t align correctly on this page. I’ve never had this problem before. Any suggestions? Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • A link to a page demonstrating the problem would help.

    Here’s the link:

    Try editing style.css and adding:

    .aligncenter {
    	display: block;
    	margin-left: auto;
    	margin-right: auto;
    .alignleft {
    	float: left;
    .alignright {
    	float: right;

    to the bottom of the file. Remember to press CTRL and F5 simultaneously when viewing the updated page/site. Or try emptying your browser cache. This should ensure that your web browser fetches a fresh copy of the page rather than serving up an out-dated copy from your own cache.

    Hi Esmi,
    It looks like it worked. Thank you very much. I really appreciate your help!

    esmi’s advice works. Also, add the following to your photo code:


    …or whichever class you’re using for a certain photo.

    I believe my problem is similar. Is there a way without html changes to have text align “even with” a photo. I have 4 photos on a page, and I want to have the text correspond with the specific photo. Here’s the page:

    Thanks, Paul

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Alignment of a Photo with Text on a Page’ is closed to new replies.