WordPress.org

Support

Support » Themes and Templates » Replacing Text Title with Site Logo

Replacing Text Title with Site Logo

Viewing 6 replies - 1 through 6 (of 6 total)
  • Here is your background image…you could open that in an image editor and add what you want in the header area.

    http://pc-demon.22web.net/wp-content/themes/pixel/images/bgbody.jpg

    To remove the title and tagline, find the following in style.css:

    #header #logo {
    float:left;
    margin:25px 0 0;
    padding:0;
    width:350px;
    }

    and add one line so it looks like this:

    #header #logo {
    float:left;
    margin:25px 0 0;
    padding:0;
    width:350px;
    display:none;
    }
    esmi

    @esmi

    Forum Moderator

    @figaro: The problem with the display:none approach is that it also hides the text from non-graphical user agents – including screen readers.

    tunisie

    @tunisie

    Thanks for trying but both methods didn’t work..

    @esmi: wouldn’t adding proper alt-text to the header image solve that problem?

    @tunisie: They have worked for me dozens of times…you may want to try again.

    esmi

    @esmi

    Forum Moderator

    Providing it’s not a background image applied via CSS, yes. Although I have a sneaky feeling (but no absolute proof) that Google weights plain text slightly higher than alt text – even within the same H tag.

    tunisie

    @tunisie

    Nothing happened…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Replacing Text Title with Site Logo’ is closed to new replies.