WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to switch custom title bar/header (6 posts)

  1. ButterSword
    Member
    Posted 4 years ago #

    We're using WP with ComicPress. We have a customer title bar that was placed at the top (not by us) and now we want to switch it out for another one.

    Website is here: http://buttersword.com
    Currently displaying old header with yellow text. New header has red text.

    We have uploaded the new .jpg to our FTP server but don't know where it should go inside the files/folders so that the website will display the new .jpg.

    Scrolled through the header.php and stylesheet.css inside WP but couldn't figure it out.

    Any help would be greatly appreciated!

  2. Agus Suhanto
    Member
    Posted 4 years ago #

    I think if I look the source HTML, the image should be in directory WordPress.

  3. ButterSword
    Member
    Posted 4 years ago #

    Thanks Agus!

    We followed your advice and put our new titlebar .jpg in the WordPress folder of our remote server but it still seems like further action is necessary. We're guessing there's an HTML code somewhere that is telling WP to point to the titlebar.jpg file and now we need it to point to titlebar2.jpg. So I think somewhere in the mix of all these files and folders there's an HTML code where we need to replace titlebar.jpg with titlebar2.jpg. But we can't find any reference to titlebars.

    So confusing!

    Any direction any one can give would be really helpful!

    Thank you!
    Jen

  4. alchymyth
    Forum Moderator
    Posted 4 years ago #

    this is the location of your yellow title image:
    http://buttersword.com//wordpress/titlebar.jpg

    this is the html from the browser of your heaer title area:

    <div id="header">
    
    	<h1><a href="http://buttersword.com"><img src="/wordpress/titlebar.jpg" alt="ButterSword" /></a></h1>
    	<div class="description"></div>
    
    </div>

    this is likely to be in header.php of your theme - it might be a bit different and contain some php code.

  5. ButterSword
    Member
    Posted 4 years ago #

    Thanks alchymyth.

    You are correct and that was the beginnings of the problem we had to solve. But we solved it.

    Thanks everyone.

  6. Frumph
    Member
    Posted 4 years ago #

    ^ for the record, recommendation of putting the image into CSS instead of hardcoding it, shouldnt modify the theme.

    #header { background: url('/wordpress/titlebar.jpg') no-repeat; height: ###px; }

Topic Closed

This topic has been closed to new replies.

About this Topic