WordPress.org

Ready to get started?Download WordPress

Forums

Get rid of title and tagline (6 posts)

  1. lulastic
    Member
    Posted 1 year ago #

    Hello! I would like to get rid of my title and tagline on
    lulastic.co.uk
    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. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

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

  3. lulastic
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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">
    <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>

  5. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 1 year ago #

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

  6. lulastic
    Member
    Posted 1 year ago #

    WAHEY! Done-thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic