Get rid of title and tagline (6 posts)

  1. lulastic
    Posted 3 years ago #

    Hello! I would like to get rid of my title and tagline on
    I know I can do this via general settings but then my blog doesn't have a name once it get linked to etc, bad for seo too.
    I have tried playing in the CSS but to no avail. Please help!

  2. Michael
    Forum Moderator
    Posted 3 years ago #

    #site-title, #site-description { display: none; }

  3. lulastic
    Posted 3 years ago #

    Thanks so much - UM, where does it go though? I tried a couple of places, the first time that line of html just appeared on the page, the second time it got rid of my whole page!
    I am working in the header.php file, but can't see the spot it is meant to go?

  4. lulastic
    Posted 3 years ago #

    I guess it would go in here somewhere.......:

    <div id="branding" role="banner">
    <?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
    <<?php echo $heading_tag; ?> id="site-title">
    " title="<?php echo esc_attr( get_bloginfo( 'name', 'display') ); ?>" rel="home"><?php bloginfo( 'name' ); ?>
    </<?php echo $heading_tag; ?>>
    <div id="site-description"><?php bloginfo( 'description' ); ?></div>

  5. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    Download a Custom CSS plugin and put Alchymyth's recommended CSS within the area allocated by that plugin (in the dashboard).

  6. lulastic
    Posted 3 years ago #

    WAHEY! Done-thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic