Forums

[resolved] Close but not close enough (34 posts)

  1. wiseowldotcom
    Member
    Posted 3 years ago #

    Ok so i've got the theme Digital Statement, worked out the process in how to upload a logo/header from here;

    http://brokenperfection.com/blog/?p=2237

    The file is uploaded to my ftp as logo.jpg, the code looks like this within the header and the style.css has been changed;

    <div id=”header”><!–Header–>

    <div id=”logo”>
    <h1><img class=”logo” alt=”logo” src=”http://www.stocksforbreakfast.com/wp-content/themes/Digital_Statement/Digital Statment/images/logo.jpg” /></h1>
    </div>

    </div><!–Close Header–>

    and its still not working, its giving me a red x.

    You may notice the term digital statement is used twice but thats what it looks like in the ftp.

    Any clues?

  2. Len
    Member
    Posted 3 years ago #

    Looks like you have nested folders. Have a look at this video.

  3. wiseowldotcom
    Member
    Posted 3 years ago #

    Ahh I see, so deactivating all my plugins, revert back to classic or default then start again?

    Why does nesting affect it?

  4. Len
    Member
    Posted 3 years ago #

    No no, I'm talking about themes, not plugins. The path should be...

    wp-content/themes/YOURTHEME

    and not

    wp-content/themes/YOURTHEME/YOURTHEME

  5. wiseowldotcom
    Member
    Posted 3 years ago #

    I've deleted it all off my ftp, uploaded the theme + plugins, changed the style.css coding, then the header.php coding to this;

    <!–Header–>

    <div id=”logo”>
    <h1>”><img class=”logo” alt=”logo” src=”http://stocksforbreakfast.com/blog/wp-content/themes/Digital_Statement/images/logo.jpg” /><?php echo $langblog;?></h1>
    </div>

    and its still not working...

    any ideas/clues at all would be helpful!

  6. Len
    Member
    Posted 3 years ago #

    Where exactly is your blog? :) In your first post you said stocksforbreakfast.com now in the latest you said stocksforbreakfast.com/blog

  7. wiseowldotcom
    Member
    Posted 3 years ago #

    Yeah but I mean to like restart and get it all going again, it should be a fresh install now.

    The logo is uploaded under themes/Digital_Statement/images/logo.jpg, the header has been changed as well as the style.css and its not working... theres actually no way I can see why it shouldn't be.

    This is painfullll

  8. wiseowldotcom
    Member
    Posted 3 years ago #

    Oh my lord... if all I need to do is delete 'blog' then im an idiot haha

  9. wiseowldotcom
    Member
    Posted 3 years ago #

    It's stocksforbreakfast.com... the coding says to use their way of using the url but i've tried that AND what it says in my ftp

    /public_html/stocksforbreakfast/wp-content/themes/Digital Statement/images/logo.jpg

    got rid of the blog bit and it still oesnt work

  10. Len
    Member
    Posted 3 years ago #

    You've got it defined in 2 different places.

    1. In the document itself --> /public_html/stocksforbreakfast/wp-content/themes/Digital Statement/images/logo.jpg

    and...

    2. In the CSS -->

    #logo {display: block; float:left; background: url (images/logo.gif) top left no-repeat;

    If you want it in the document then use

    <img src="<?php bloginfo('template_url'); ?>/images/logo.gif" alt="YourLogo" />

    Edit: I just looked closer and you also have 2 diff types of images - one a gif and the other a jpg.

  11. wiseowldotcom
    Member
    Posted 3 years ago #

    where exactly is that code going??

    I've uploaded a .gif version and .jpg but using the .gif version and still no luck

  12. Len
    Member
    Posted 3 years ago #

    Looking at your source code I see,

    <div id=”logo”>
    <h1><a href=””><img class=”logo” alt=”logo” src=”http://stocksfrobreakfast.com/wp-content/themes/Digital_Statement/images/logo.gif” /></a></h1>
    </div>

    2 things:

    1. The site is stocksforbreakfast.com NOT stocksfrobreakfast.com
    2. The theme is Digital Statement NOT Digital_Statement (at least from what I can tell by browsing your directory)

  13. Len
    Member
    Posted 3 years ago #

    I'm watching your progress from the shadows. :)

    Okay, I see you now have the right path except one thing. The image you have listed in your images folder has the extension .GIF and not .gif

  14. wiseowldotcom
    Member
    Posted 3 years ago #

    whoops must have been a typo... has been amended and ive put this in;

    <div id=”header”><!–Header–>

    <div id=”logo”>
    <h1><img class=”logo” alt=”logo” src=”http://www.stocksforbreakfast.com/wp-content/themes/Digital Statement/images/logo.gif” /></h1>
    </div>

    <div id=”searchbox”>
    <form method=”get” id=”searchform” action=”<?php bloginfo(’url’); ?>/”>
    <input type=”text” value=”<?php the_search_query(); ?>” name=”s” id=”s” class=”swap_value” />
    <input type=”image” src=”<?php bloginfo(’template_directory’); ?>/images/go.gif” id=”go” alt=”Search” title=”Search” />
    </form>
    </div>

    </div><!–Close Header–>

    Thats the FTP address

    /public_html/stocksforbreakfast/wp-content/themes/Digital Statement/images

    and the files named logo.GIF

    but still nothing.

    Did you want to log in and take a look?

  15. wiseowldotcom
    Member
    Posted 3 years ago #

    haha thanks... I saved it in paint and it came out like a GIF... should I change the extension to GIF?

  16. wiseowldotcom
    Member
    Posted 3 years ago #

    tried it with images/logo.GIF and still no love!!

  17. Len
    Member
    Posted 3 years ago #

    Have a look at my response just above yours. ^^^^^

  18. wiseowldotcom
    Member
    Posted 3 years ago #

    wont let me save it as a lowercase .gif for some reason?

  19. Len
    Member
    Posted 3 years ago #

  20. Len
    Member
    Posted 3 years ago #

    You can't rename the extension on the fly. You have to save it in an image editor with the new extension.

  21. wiseowldotcom
    Member
    Posted 3 years ago #

    I know it works... but doesnt show on the blog :(

    not sure what the issue is between bluehost > blog atm

  22. wiseowldotcom
    Member
    Posted 3 years ago #

    ahhh I see, why does it have to be lowercase to work?

  23. Len
    Member
    Posted 3 years ago #

    Well right now you're using logo2.GIF - isn't it logo.GIF?

  24. wiseowldotcom
    Member
    Posted 3 years ago #

    I tried saving it again and as a gif to see if it would save as a GIF or gif... which I thought would be exactly the same.

    I've also tried Digital_Statement, Digital Statement, Digital%20Statement and none of them seem to be working :(

  25. Len
    Member
    Posted 3 years ago #

    Okay, you're just missing the opening < on your image tag.

    Edit: also, get rid of that underscore (_) between Digital and Statement.

  26. wiseowldotcom
    Member
    Posted 3 years ago #

  27. wiseowldotcom
    Member
    Posted 3 years ago #

    space or no space instead?

  28. Len
    Member
    Posted 3 years ago #

    You keep changing things faster than I can type. ;)

    As of this second you have this,

    http://stocksforbreakfast.com/blog/wp-content/themes/Digital_Statement/images/logo.gif

    You want it to be,

    http://stocksforbreakfast.com/wp-content/themes/Digital Statement/images/logo.GIF

  29. wiseowldotcom
    Member
    Posted 3 years ago #

    Sorry haha

    As of this second, i've got this;

    <div id=”logo”>
    <h1>”><img class=”logo” alt=”logo” src=”http://stocksforbreakfast.com/blog/wp-content/themes/Digital Statement/images/logo.gif” /><?php echo $langblog;?></h1>
    </div>

    am I missing the image tag still?

    and got rid of the 'blog' bit as well

  30. Len
    Member
    Posted 3 years ago #

    You don't want "blog" in there. Also, according to your images folder the image you want to use is logo.GIF

Topic Closed

This topic has been closed to new replies.

About this Topic