WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] img src not working on theme homepage

[Resolved] img src not working on theme homepage

  • Hello,

    I’m using the Responsive theme by ThemeID and I’m having some trouble replacing the default image on the homepage.

    Here is what I did:

    1. Uploaded the image I want to use to my Media Library, made sure the dimensions would fit the space, and copied the File URL

    2. Themes> Theme Options> Home Page

    3. Typed this into the Featured Content box: <img src="http://www.dianadonaldson.com/wordpress/wp-content/uploads/2013/02/ChLogoSM.jpg ‎" />

    4. Clicked Save Options

    5. Refreshed the home page and saw that the default image has been replaced by pure whiteness. The image is not visible.

    What am I doing wrong? Please help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Take a look here please and here’s the full source you can use with your image included:

    <img class="aligncenter" src="http://www.dianadonaldson.com/wordpress/wp-content/uploads/2013/02/ChLogoSM.jpg" width="252" height="224" alt="" />

    Emil

    WPyogi

    @wpyogi

    Forum Moderator

    Looks like you have a space right after the .jpg – see if removing that fixes it.

    EDIT – Beaten out by the true expert by a minute – LOL!

    Thanks, Emil! It works now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] img src not working on theme homepage’ is closed to new replies.
Skip to toolbar