WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] display:none; shows up in my title bar! (3 posts)

  1. lcreinsb
    Member
    Posted 6 years ago #

    Hello!

    The forum helped me solve one problem, but now a new one has emerged. I wanted to take away the header title because the title is already included in the header image. So I added "display:none;" to my CSS Stylesheet and it disappeared. Hooray!

    However, now "display:none;" shows up in the title bar (I think that's what it's called - the strip across the very top of the screen that tells you the title of the page you're on). Where have I gone wrong?

    My blog is http://www.notfarfromthetree.org and I can the piece of stylesheet I edited now looks like this:

    #header h1
    {
    font-size:1.8em;
    margin:10px 0 0 10px;
    font-variant:small-caps;
    letter-spacing:0px;
    font-weight:normal;
    display:none;
    }
    #header h1 a {

    text-decoration:none;
    border:0;
    }
    #header h1 a:hover,
    #header h1 a:active {
    border-bottom:#963 1px solid;
    }
    #header #desc
    {
    margin:5px 0 0 10px;
    font-size:1em;
    font-weight:normal;
    font-family:Tahoma, Verdana, Arial, Serif;
    letter-spacing:0px;

    }

    Thank you for any help you can offer!
    Laura

  2. whooami
    Member
    Posted 6 years ago #

    it shows up because you have added it to your title.

    <title>not far from the tree display: none; </title>

  3. lcreinsb
    Member
    Posted 6 years ago #

    I guess I was trying to find places to stick it in earlier (this is my first time playing with CSS) and forgot to delete it when it didn't work. I found it placed under "header" rather than under "CSS Stylesheets."

    Thanks for the nudge!

Topic Closed

This topic has been closed to new replies.

About this Topic