WordPress.org

Ready to get started?Download WordPress

Forums

Need to remove primary doman name in Header above image (4 posts)

  1. tonymen
    Member
    Posted 3 years ago #

    This is my second go at this email. I forgot to enter a topic title and when I hit the send key everything got wiped.. All my text. I mention this so others dont make the same mistake.
    BACK TO MY PROBLEM.

    IT IS BEST EXPLAINED IF YOU VIEW IMAGE FROM THE LINK BELOW.

    I have a primary domain (which is the one showing above the banner)
    The wordpress site is in a folder called "cupid" which is in an addon domain under the prime domain.

    The highlighted text was from Firefox / Firebug. How can I access the html code in wordpress so as I can delete the problem.

    Tony

  2. Joseph
    Member
    Posted 3 years ago #

    Add the following to your style.css

    #site-title {
    	display: none;
    }

    You can access style.css by loggin into dashboard and go to Appearance > Editor.

  3. tonymen
    Member
    Posted 3 years ago #

    ThanksJoseph for trying but it did not work
    I placed the code at the bottom of the top section ?

    see http://loveisamanysplendidthing.com/cupid/?p=6

  4. emilekott
    Member
    Posted 3 years ago #

    2 ways to remove it.

    1. As above, by editing your style.css file found in /wp-content/themes/twentyten/

    2. Edit the header.php file in the same directory. It should say this:
    <a href="<?php echo home_url( '/' ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>

    This is line 154 and is the php that echos the blog name to the top of the screen.

    Before you go hacking apart a theme, check out Sam Parkinsons great tutorial on building a wordpress theme from scratch.

    Cheers
    Emile

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.