• Hi,

    I replaced my site title with an image and it was fairly successful, but I’m still having two issues: (1) There is a black line above and below the image, and (2) The tagline on the right side of the page now sits above the image instead of being essentially on the same line.

    Total noob…help!

    Here’s the site: http://www.fujikabasta.com

    And here’s the code:

    <div id=”wrapper” class=”hfeed”>
    <div id=”header”>
    <div id=”masthead”>
    <div id=”branding” role=”banner”>
    <?php $heading_tag = ( is_home() || is_front_page() ) ? ‘h1’ : ‘div’; ?>
    <<?php echo $heading_tag; ?> id=”site-title”>
    <span>
    ” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?>
    </span>
    </<?php echo $heading_tag; ?>>
    <div id=”site-description”><?php bloginfo( ‘description’ ); ?></div><img src=http://fujikabasta.com/wp-content/uploads/2010/11/Fujikabasta-Logo5.png>

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jdonlon

    (@jdonlon)

    Oh, and using the Twenty Ten theme. Also, I had altered the style.css to not display the site title:

    #header {
    padding: 30px 0 0 0;
    }
    #site-title {
    float: left;
    font-size: 30px;
    line-height: 36px;
    margin: 0 0 18px 0;
    width: 700px;
    display: none;
    }
    #site-title a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
    }
    #site-description {
    clear: right;
    float: right;
    font-style: italic;
    margin: 14px 0 18px 0;
    width: 220px;
    }

    Any and all help is appreciated…thanks!

    Thread Starter jdonlon

    (@jdonlon)

    Never mind…got some offline help. Thanks anyway…

    theBrettman

    (@thebrettman)

    maybe you should tell everyone how you got it to work so someone else might get some use out of this web space instead of wasting it?

    Here’s some input.

    1) do not edit twentyten, make a child theme, or your changes will be lost
    http://go.rvoodoo.com/WPchild

    2) http://voodoopress.com/2011/02/modifying-headers-from-a-twentyten-child-theme/
    Has some assistance and info on modifying the header, more info is available on my site there. The whole site is about customizing twentyten (using a child theme)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Replace site title with image’ is closed to new replies.