WordPress.org

Ready to get started?Download WordPress

Forums

How can I disable the blog name from showing in Twenty Ten? (7 posts)

  1. katemcauley
    Member
    Posted 3 years ago #

    Hi there - I'd like to include my blog title in the general settings without having it appear on my blog. The address is: http://www.i-am-not-a-celebrity.com.

    At the moment I'm not including it because I don't want it to show up, but that befuddles SEO and other bits and pieces - or so I'm told.

    Any help would be much appreciated.

    Thanks,

    Kate

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    find this in style.css

    #site-title {
    	float: left;
    	font-size: 30px;
    	line-height: 36px;
    	margin: 0 0 18px 0;
    	width: 700px;
    }
    #site-title a {
    	color: #000;
    	font-weight: bold;
    	text-decoration: none;
    }
    #site-description {
    	clear: right;
    	float: right;
    	font-style: italic;
    	margin: 14px 0 18px 0;
    	width: 220px;
    }

    add text-indent: -999em; to whatever you want to not appear. site-title is the main title, site-description is the description.

  3. govpatel
    Member
    Posted 3 years ago #

    or you can add
    display:none;

  4. katemcauley
    Member
    Posted 3 years ago #

    Thank you both. Rev. Voodoo - that worked a treat.

  5. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    or you can add
    display:none;

    I believe that is not the proper method for important text, such as site titles, as that also hides your title from search engine bots, and screen readers.

  6. govpatel
    Member
    Posted 3 years ago #

    @ Rev.Voodoo I am using display none just checked my source code and the title shows fine and when I search for my site with gbpcentral and it indexed fine so I do not think it effects search engines.

  7. Rev. Voodoo
    Volunteer Moderator
    Posted 3 years ago #

    Setting text-indent to a large negative value is a technique commonly used to “hide” short texts—such as structural headings—in visual browsers without hiding them from screen readers (as is the case with display:none). For example, a text-indent value of -9999px is high enough to push the text far off the screen—even for large viewport sizes. Beware of extreme vales as there may be implementation specific limits.

    but there are some people who say using text-indent is bad for google. As it's an old spammer trick. But I usually see spammers use display:none on hacked websites.

    So in the end, I guess there is debate eh!

Topic Closed

This topic has been closed to new replies.

About this Topic