Hiding Header Title Text (7 posts)

  1. Nevis1
    Posted 10 years ago #

    This comes dirctly from the WP documents on editing themes

    "To hide the header text while leaving it in the code, do not change anything in your template files. Only change the CSS. Add display:none to the CSS selectors you do not want to appear. For example, to hide the text within the h1 selector:

    h1 {display:none; font-size: 230%; color: blue;......."

    However I don't know which CSS to change. I assume it is style.css in the TIGA theme, but when I added the dispaly none to the header section it does nothing. I also don't see any h1 tag. Can somebody be more specific on WHICH CSS to change?

    Here is a link to see what I am getting now



  2. Yngwin
    Posted 10 years ago #

    Instead of that you should add the following to the stylesheet in your theme:

    h1 a { text-indent: -9999px; }

  3. Nevis1
    Posted 10 years ago #

    Hmm I did that and nothing happened

    Here is a link to the code at pastebin..without the css changed...I changed back to the original code in question.


  4. Yngwin
    Posted 10 years ago #

    I don't know where you added it, but it doesn't show up in http://www.nevis1.com/nevis1blog/wp-content/themes/Tiga/style.php

  5. Nevis1
    Posted 10 years ago #

    Well the problem is the fact that I added it to the style.css Here is the linik to the style.php at pastebin


    Maybe you could point me in the right direction to paste here. I hate being such a pain and posting so much, but I have tried everything else

  6. Nevis1
    Posted 10 years ago #


    I FINALLY GOT IT!!!! It was your help in pointing me to the style.php file and not the style.css file.

    I can't believe that it took me 5 hours to sort that mess out....now it is time for a cold beer.

    Thanks ever so much!

  7. Yngwin
    Posted 10 years ago #

    You're welcome! Glad you worked it out.

Topic Closed

This topic has been closed to new replies.

About this Topic