• This is for anyone that wants to hide their theron lite theme site title and descrition (and add a custom logo), but can’t figure it out- this worked for me. I wanted a custom logo so here’s what I did. It’s understood that if you simply remove your site title and description from your WP dashboard by going to appearances > theme > customize, and deleting those lines- search engine crawlers will not see your site title etc..

    I tried a lot of lines and code but none of them worked to hide the title and site description for theron lite until I added:

    display:none; in the CSS stylesheet, in the first line after /*LOGO*/as below:

    /*LOGO*/
    .logo {display:none; float: left;padding-bottom: 30px; width:100%;}
    .logo h1{ margin-bottom:0px; }
    .logo h1 a{ display:block;text-align:center; color:#302f2f; text-decoration:none;outline: none;}
    .desc{ text-align:center; color:#302f2f; font-size:15px;}

    Then at the header.php I simply added this line <img style="float:right; margin-right:5 px;"="the url where you upload your image in media library">see below : (the css lines below are found after the </head> section)

    <!--LOGO START--><div class="logo">
            <h1><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo('name') ;?></h1>
            <div class="desc"><?php bloginfo('description')?></div>
            </div>
    
            <!--LOGO END-->
    
            <!--MENU STARTS-->
            <div id="menu_wrap"><div class="center"><div id="topmenu"><?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?></div></div></div>
            <!--MENU END--><img style="float:right; margin-right:5 px;" src="http://www.thunderboltrider.com/wp-content/uploads/2012/11/header.png"></a>

    Because I preferred that my custom logo appear after the menu bar so I added that line after <!--MENU END--> above

    If you want your logo show up above the menu bar instead- insert that “img style” line as above like so:

    <h1><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo('name') ;?>YOU CAN INSERT THE LINE HERE... </h1>

    I searched online for hours and spent a few more hours figuring this out as I’m a noob with CSS but I hope this helps someone.

    This is what hiding the site title and with a custom logo will look like :

    http://www.thunderboltrider.com

    p.s- I’m not sure how this post will look because of all the html code since I can’t preview it , sorry if it looks weird. Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • This helped, thank you! I actually ended up doing it a little bit different: I didn’t edit the css at all, I just replaced something in the section of header.php that you showed:

    <!--LOGO START--><div class="logo">
            <h1><a href="<?php echo esc_url( home_url( '/' ) ); ?>"><?php bloginfo('name') ;?></h1>
            <div class="desc"><?php bloginfo('description')?></div>
            </div>
    
            <!--LOGO END-->
    
            <!--MENU STARTS-->
            <div id="menu_wrap"><div class="center"><div id="topmenu"><?php wp_nav_menu( array( 'container_class' => 'menu-header', 'theme_location' => 'primary' ) ); ?></div></div></div>
            <!--MENU END--><img style="float:right; margin-right:5 px;" src="http://www.thunderboltrider.com/wp-content/uploads/2012/11/header.png"></a>

    I replaced this:

    <?php bloginfo('name') ;?>

    with this:

    <img src="your image url">

    That way I just replaced the name of my site with a small image. You just have to make sure the image has a dark background or the pattern from the theme, otherwise the contrast between black and white might not look good.
    I kept the site description under the logo but if you want to remove it, you can remove this from header.php :

    <div class="desc"><?php bloginfo('description')?></div>

    Hope this helps someone!

    Thanks

    Thread Starter dannycheng

    (@dannycheng)

    Awesome!

    Cheers and have a good one…

    Hi I am new at website building.

    I am using Theron Lite for my page. But I would like to add my logo to the top of my page above the slider bar.

    I have 2 questions if you could please help me?

    1st where do I type in the codes you provided above?
    I looked around in appearance> themes >Customize> and do not see a place to enter HMTL code.

    2nd question is how do I add my logo/photo “code” to the code you provided above?

    I am still learning the basics so if you do not mind giving me step by step instructions or “dumbing it down lol please!!

    here is my logo
    http://s276.beta.photobucket.com/user/agiogaia1/media/logo_zps5e5566a5.jpg.html?sort=3&o=0

    here is my site
    http://WWW.mandelionphotography.com

    I want the logo to go where it says “mandelion Photography” at the top

    Please help

    thank you

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Hi mandelionphotography,
    You can create a new thread for support with your issue.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Here's how to hide site title and description for Theron lite theme’ is closed to new replies.