WordPress.org

Ready to get started?Download WordPress

Forums

What is wrong with this code? (14 posts)

  1. joanbell
    Member
    Posted 1 year ago #

    When I enter this logo code the image shows up on my site but there is an extra piece of code on the side of it.

    When I go back into my dashboard area I see two images and "blank" written there.

    Any ideas what is wrong here. I simply uploaded the image and copied the code from the page.

    I have tried 2 different logos - this is the code.

    <img src="http://lifecoach101.com/wp-content/uploads/2013/08/oie_transparent-1-300x225.png" alt="oie_transparent (1)" width="300" height="225" class="alignleft size-medium wp-image-2909" />

    <img class="alignleft size-medium wp-image-2907" alt="oie_transparent (2)" src="http://lifecoach101.com/wp-content/uploads/2013/08/oie_transparent-2-300x79.png" width="300" height="79" />

    Another question - the image shows up smaller than I want and smaller than the image I am working with - can I make it bigger via the code or do I have to make it larger then re-upload it?

    PS: Interesting, I just clicked on the code after I posted this message and they look as I want them.

    Thank you, Joan

  2. xmatter
    Member
    Posted 1 year ago #

    did you enter the images into the page? if so, are you on Visual or Text for the Page edit options?

  3. joanbell
    Member
    Posted 1 year ago #

    Not quite sure what you mean? I uploaded the image into posts and then put it into text (code) before copying and pasting it.

  4. xmatter
    Member
    Posted 1 year ago #

    Can you go into that particular page, delete the text that is there, click Update. Then click "Add Media" and insert like that. I will assume something was copied incorretly. The method I explained will let you know if something was copied by accident.

  5. joanbell
    Member
    Posted 1 year ago #

    I'm confused. This is what I did.

    1. Clicked - New Post
    2. Clicked -Add Media
    3. Copied code and pasted it into area for logo
    4. Clicked "Update logo"
    4. "Viewed" site and image had extra words next to image.

  6. xmatter
    Member
    Posted 1 year ago #

    Hmmm… I assume you remove what you did from your live site because I cannot see "blank" on there. Or does it only occur through the Admin side?

  7. joanbell
    Member
    Posted 1 year ago #

    I have just tried again and if you look at the site now you will see what I mean. I will leave it there till I hear back from you.

    Funny thing is, when I go back into "theme options" it show my image 3 times with href= at left side of image and "blank" at other side of image.

    ????? This is doing my head in! Thanks for your help..

  8. xmatter
    Member
    Posted 1 year ago #

    you have 2 images, but after the second image, there is this:

    Text - " />

    remove that, and you will be set. That little bit of extra code and breaking the code before it.

  9. xmatter
    Member
    Posted 1 year ago #

    on second thought, it appears teh site-logo div is not closed properly, looks like it is missing the closing div tag

  10. joanbell
    Member
    Posted 1 year ago #

    Are you talking about the logo? I am not that tecchy so can you explain what you mean about the closing div tag??

    Looking at the codes I posted in first instance can you tell me where/how to add this code??
    Thanks,

  11. joanbell
    Member
    Posted 1 year ago #

    Whoa! I added a div code at the end of code </div> and it looked even worse! So that isn't the solution I don't think. Unless I did in incorrectly.

    J

  12. xmatter
    Member
    Posted 1 year ago #

    the first img src is incorrect in code. do you need it?

  13. xmatter
    Member
    Posted 1 year ago #

    the img scr is invalid syntax

    <img src="" colors-in-love-version-2-non-editable-web-ready-file.jpg?="" 03="" 2012="" uploads="" wp-content="" lifecoach101.com=""/>

    QUESTION MARK after filename, and nothing within SRC

    I think this code was added by mistake.

  14. joanbell
    Member
    Posted 1 year ago #

    Thanks so much for your help. I contacted the web designer and he advised me that all I needed was the URL not all the extra code. That works so problem solved. I think that's what you are saying too. Appreciate your time.

    Joan

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.