Support » Fixing WordPress » My website has an error

Viewing 5 replies - 1 through 5 (of 5 total)
  • <div id="attachment_272" class="wp-caption aligncenter" style="width: 310px"><img class="size-full wp-image-272" title="apple" src="http://howmanycaloriesinasliceofpizza.net/wp-content/uploads/2012/02/apple.jpg" alt=" apple nutrition facts, apple fruit nutrition" width="300" height="261"><p class="wp-caption-text">Health Benefits Of Eating Apples</p></div>

    Conflicting width settings. One says 310px and the other is 300px. Remove the 310px and see what happens.

    It is probably a css padding or margin setting conflicting with the container width setting. Reduce the size of the image or increase the size of the container.

    howmanycaloriesinapizza

    (@howmanycaloriesinapizza)

    I reduced the image but not success. How to increase the size of the container ? Please help me ! Thanks !

    I realized one thing that if the images have caption, they has an error

    <div id="attachment_272" class="wp-caption aligncenter" style="width: 310px"><img class="size-full wp-image-272" title="apple" src="http://howmanycaloriesinasliceofpizza.net/wp-content/uploads/2012/02/apple.jpg" alt=" apple nutrition facts, apple fruit nutrition" width="300" height="261"><p class="wp-caption-text">Health Benefits Of Eating Apples</p></div>

    Change aligncenter to alignnone.

    howmanycaloriesinapizza

    (@howmanycaloriesinapizza)

    Thanks but I have a lot of images. So, It’s hard to edit manually. What should I do ?

    [ Please do not bump, it’s not permitted here. ]

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘My website has an error’ is closed to new replies.