logo
Ask your WordPress questions! Pay money and get answers fast! (more info)

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.

$5
Removing title-text from my header

I am just trying to remove the the visibility of title text from my header, since I already have it as part of the header image: Audiocompulsive.com.

I'd like the title to remain visible to search engines, just not the end user.

Here's my page.php code.

And here's my style.css code.

Thanks!

This question has been answered.

Ant Lively | 06/13/11 at 1:55am Edit


(5) Possible Answers Submitted...

See a chronological view of answers?

Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

  • avatar
    Last edited:
    06/13/11
    1:59am
    Fahd Murtaza says:

    Remove the

    get_bloginfo( 'description...


    from your header file.

    • 06/13/11 2:01am

      Fahd Murtaza says:

      Please post the header.php code.

    • 06/13/11 2:03am

      Fahd Murtaza says:

      This should work

      Line # 92 of your code


      #blog-title {font-size:64px;line-height:60px;letter-spacing:-2px;width:585px;display:inline;float:left; display:none; visibility:hidden;}

    • 06/13/11 2:06am

      Fahd Murtaza says:

      I inspected teh code and here is the final thing



      #blog-title {
      font-size: 64px;
      line-height: 60px;
      letter-spacing: -2px;
      width: 585px;
      display: inline;
      float: left;
      display: block;
      visibility: hidden;
      }

    • 06/13/11 2:08am

      Fahd Murtaza says:

      Here is the result of my CSS code. I used Google chrome to modify CSS on the runtime.

      Attached Image

  • avatar
    Last edited:
    06/13/11
    2:01am
    Jimish Gamit says:

    add following code in style.css on line 94

    #blog-title a span {
    visibility: hidden;
    }

    Previous versions of this answer: 06/13/11 at 2:01am

  • avatar
    Last edited:
    06/13/11
    2:05am
    Jesse Petersen says:

    Change the <span> in the header.php that wraps the title to make <span>AUDIOCOMPULSIVE</span>
    to

    <span id="header-title">

    Then in the css, add this to the general header area around line 95 ro its own line to avoid taking the entire header out of whack:

    #blog-title span#header-title { margin-left: -9999px; }

    The header itself is hyperlinked and is what is styled in the current css.

  • avatar
    Last edited:
    06/13/11
    2:13am
    Nile Flores says:

    You cannot hide the title or it will frowned upon by Google crawlers.

    You can though add


    #blog-title a span {
    text-indent: -10000px;

    }


    OR

    remove the whole line in your header.php file:

    <div id="blog-title"><a href="http://www.audiocompulsive.com/" title="<?php bloginfo('name'); ?>" rel="home"><span><?php bloginfo('name'); ?></span></a></div>


    - the bloginfo('name') may possibly be different in your theme

    ----------------

    You did not share your header.php file, which was the file necessary for this.



    Previous versions of this answer: 06/13/11 at 2:11am | 06/13/11 at 2:12am | 06/13/11 at 2:13am

  • avatar
    Last edited:
    06/13/11
    2:12am
    hemant hapani says:

    in your theme folder style.css add this code :

    #blog-title a span {
    visibility: hidden;
    }

This question has expired.



Ant Lively voted on this question.



Current status of this question: Completed



Warning: Please do not give out any FTP or ssh credentials to anyone, unless you trust them completely. Giving out login details is dangerous.

If the asker does not get an answer then they have 10 days to request a refund.