• I tried adding this to my style.css, but nothing is working. I want to change the Steve that is in text with a logo. I’m using the striking theme. https://steve-mcshane.com/

    #header h1 a {
        background: url(logo.jpg) no-repeat;
        display: block;
        height: 48px;
        outline: medium none;
        text-indent: -9999px;
        width: 366px;
    }
Viewing 7 replies - 16 through 22 (of 22 total)
  • Can I see the code? I can’t tell you unless I see it.
    But basically, you want to wrap the <a> </a> tags around the logo.
    For example:
    <a href="<?php bloginfo('url'); ?>">Steve</a>

    Thread Starter helpplease83

    (@helpplease83)

    hmm.. what code do you need to see?? Cause i”m not sure what that is.

    Show me whatever code you have that makes the logo.

    Thread Starter helpplease83

    (@helpplease83)

    #logo_text { text-indent: -9999px;}
    #header .inner { background: url(logo.jpg) left top no-repeat;}

    This is all i’ve changed in my Skin.css I don’t know how to get the html part to change that. OR what to put that in.

    Here’s this:

    <header id="header">
    	<div class="inner">
    <?php if(theme_get_option('general','display_logo') && $custom_logo = theme_get_option('general','logo') ):
    ?>
    		<div id="logo">
    			<a href="<?php echo home_url( '/' ); ?>"><img class="ie_png" src="<?php echo $custom_logo; ?>" /></a>
    		</div>
    <?php else:?>
    		<div id="logo_text">
    			<a id="site_name" href="<?php echo home_url( '/' ); ?>"><?php bloginfo('url'); ?></a>
    <?php if(theme_get_option('general','display_site_desc')){
    		$site_desc = get_bloginfo( 'description' );
    		if(!empty($site_desc)):?>
    			<div id="site_description"><?php bloginfo( 'description' ); ?></div>
    <?php endif;}?>
    		</div>

    This is my header..

    Thread Starter helpplease83

    (@helpplease83)

    can somebody help me??

    Ok, replace
    <?php if(theme_get_option('general','display_logo') && $custom_logo = theme_get_option('general','logo') ): ?>

    with this
    <a href="<?php bloginfo('url'); ?>"><?php if(theme_get_option('general','display_logo') && $custom_logo = theme_get_option('general','logo') ):?></a>

    And I think you can get rid of logo_text altogether, because there’s nothing in it.
    So delete that in your skin.css file as well as all of this

    <div id="logo_text">
    			<a id="site_name" href="<?php echo home_url( '/' ); ?>"><?php bloginfo('url'); ?></a>
    <?php if(theme_get_option('general','display_site_desc')){
    		$site_desc = get_bloginfo( 'description' );
    		if(!empty($site_desc)):?>
    			<div id="site_description"><?php bloginfo( 'description' ); ?></div>
    <?php endif;}?>
    		</div>

    Thread Starter helpplease83

    (@helpplease83)

    None of that worked for me.. Unless I’m putting in the right place. I put in the header.

    Also how do you alphabetize the menu: https://steve-mcshane.com/

Viewing 7 replies - 16 through 22 (of 22 total)
  • The topic ‘changing Site Title with a logo’ is closed to new replies.