• Resolved rexfromars

    (@rexfromars)


    I’m using Kubrick on WP 2.8.

    I’d like to remove the text from the header, *but* retain the ability for users to click on the header to return home.

    I’ve set up “toggle text display” under “Customer Header”, but that leaves me with a header you cannot click on.

    I’ve tried leaving the “Blog name” and “tagline” descriptions empty under Settings > General, but this also leaves an “unclickable” header.

    I would try the old “make the header text the same color as the header” trick, but my header is a very stylized picture of Kate Winslet, so that’s a no-go.

    Any ideas? Thanks in advance!

    Rex

    PS – my blog is at https://www.jimcofer.com if that helps.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Edit header.php. Insert the image there as so:
    <a href="THE LINK YOU WANT"><img src"=IMAGE URL"></a>
    and take out the header image from the stylesheet. You will have to play about with the alignment a bit, but thats the standards-complient and user friendly and simplest way to do it. ??
    K

    Thread Starter rexfromars

    (@rexfromars)

    Thanks for the tip. I opened the header.php file and changed this:

    <div id="header" role="banner">
    	<div id="headerimg">
    		<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
    		<div class="description"><?php bloginfo('description'); ?></div>
    	</div>

    with this:

    <div id="header" role="banner">
    	<div id="headerimg">
    		<h1><a href="https://www.jimcofer.com"><img src="https://www.jimcofer.com/personal/wp-content/themes/default/images/kubrickheader.jpg"</a></h1>
    		<div class="description"><?php bloginfo('description'); ?></div>
    	</div>
    </div>
    <hr />

    The result is this.

    Could you give me some pointers on how to move the new graphic up a little bit? I don’t know PHP (that’s why I use WordPress!).

    Also, why is it that the PHP code I changed would only accept the absolute hyperlink instead of a relative one? I tried images/file.jpg, but it didn’t work until I put the full URL in there.

    THANK YOU!

    Could you give me some pointers on how to move the new graphic up a little bit?

    The graphic is up about as far as it will go…the white at the top is part of the graphic. If you haven’t already view them, the following videos on editing Kubrick may help.

    https://educhalk.org/blog/?p=137

    Thread Starter rexfromars

    (@rexfromars)

    Thanks for the tips, figaro!

    However, when I edited my header.php file to this:

    <div id="header" role="banner">
    <div id="headerimg">
    <div id="headerimg" onclick="location.href='https://www.jimcofer.com';" style="cursor: pointer;" title="Home"></div></div>
    </div>

    It’s still not clickable.

    Here’s EXACTLY what I did:

    1) Downloaded a fresh copy of WordPress.
    2) Unzipped it and renamed wp-content > themes > default to “jim”.
    3) Edited the STYLE.CSS file to change name of theme to “jim”.
    4) Edited header.php as shown above.
    5) Downloaded existing kubrickheader.jpg file from site and overwrote the existing “fresh” copy.
    6) Uploaded the “jim” folder to wp-content > themes on my site.
    7) Via the admin panel, changed themes.
    8) When that didn’t work, checked php code (above) via Themes Editor.

    Any suggestions?

    Thread Starter rexfromars

    (@rexfromars)

    Perhaps I should add that I’ve tested it in FF, IE and Chrome, too. No dice.

    Thread Starter rexfromars

    (@rexfromars)

    Nevermind… I guess the “Toggle Text Display” setting was still in place from my previous (default) theme. I toggled it back on and now it works!

    THANKS, figaro! I’m looking forward to checking out lots of the other tips on that site!

    You’re welcome…glad it helped.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Removing text from header, but…’ is closed to new replies.