WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How do I remove the Site Title from the Page but keep it as the tab title? (5 posts)

  1. Farfetch42
    Member
    Posted 2 years ago #

    I have replaced the Site Title With a logo image with the title in however if i remove the site title from the general settings the webpage uses the URL asthe title which is't what I want.

    I hae read you can moove the title so it is just off screen where abouts in editor do i do this and what do i need o insert please.

    Cheers any input appreciated.

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    you need to know the exact css selector for the title;
    twenty ten for instance uses #site-title as the css id of the title.

    general example:

    #site-title { text-indent: -9999px;}
    or
    #site-title { visibility: hidden; }
    or
    #site-title { display: none; }

    all with slightly different effects.

    please post a link to your site for more suggestions.

  3. Farfetch42
    Member
    Posted 2 years ago #

    http://harestock.users33.interdns.co.uk/

    I would like it to Say 'Harestock Primary School' as the page title.

    I originally had the image and the site title written over it in white with a shadow, however it didn't show the shadow in IE or Chrome making the text lost in the background. So i edited the image so the text was part of it and re-loaded the image. It works fine but can't have a site title now or it writes over the image.

    Any Ideas?

  4. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

    for instance, try it with:

    #site-title, #site-description {text-indent:-99px;}

    add this somewhere into style.css of your theme, after the other styles for #site-title and #site-description.

    then you add both the site title and tag line back into 'settings' 'general'

  5. Farfetch42
    Member
    Posted 2 years ago #

    Yeah great work thank you! Had to make it -999px to move it enough but it's worked. Cheers.

Topic Closed

This topic has been closed to new replies.

About this Topic