How to Hide a Tag Line and Title FlexSqueeze and Flexibility2

Video #5 of 31 FlexSqueeze and Flexibility2 Themes

When it comes to your title and tag you want to have it for search engine purposes.

If you’re using a custom header with the Flexibility2/FlexSqueeze theme–you don’t want to clear out the fields–but you don’t want it to show through your header either.

Here is a simple way to fix that…

Here is the code that you can use in the editor. Click on appearance. Click on editor. Click on Header.php

Copy ALL of the html from header.php to notepad FIRST

Do not use MSWord as it puts stray code that will mess up your blog.

Find the code in the header.php
<?php if ($flex_blog_logo == “”) { ?>

Add this code just below the above code

<h3 style=”text-indent:-9999px;”><a href=”<?php echo get_settings(‘home’); ?>/”>
<?php bloginfo(‘name’); ?>
</a></h3>
<p style=”text-indent:-9999px;”>
<?php bloginfo(‘description’); ?>

</p>

The next line will look something like this…

<?php } else { ?>

Save it–then refresh your page–your tag line should no longer show through the header. If it’s “mucked” up copy the original code back to your header.php and well heck give me a call and I can help you.

Watch Video 6 in the FlexSqueeze Series

If you like this post feel free to retweet or comment. I would love to hear from you.

8 Comments

  1. Amelia Johnson on April 26, 2010 at 10:16 pm

    Hi, Holly,

    I am unable to load a custom header into my flexsqueeze theme even though I have uploaded the image to the proper file. I would appreciate your help with this.



  2. hollypowell on May 26, 2010 at 1:57 pm

    It’s a two step process–once you load the header via ftp you then have to go to flex options and enter the file name.
    I show you how here:
    http://simplehowtovideos.com/how-to-add-a-header-with-ftp-for-flexibility-theme

    Let me know if this helps.

    Holly



  3. Fontella Williams on August 17, 2010 at 5:38 am

    Holly,
    YOU ROCK! I’m so glad I found your vids on Youtube. I was stuck with this very issue and your instructions worked like a charm. I will say that the code in the Youtube video worked for me and not the one here on the blog post. Thanks A MILLION!!!



  4. Ira Newman on August 30, 2010 at 1:58 am

    I give up. Hopefully you see the entire snippit.

    Thanks again.

    Ira



  5. Sherrie St. Cyr on August 30, 2010 at 2:00 am

    Holly,

    These are great! I tried this and it didn’t work with Flexibility3. Is something different there?



  6. hollypowell on September 10, 2010 at 10:55 pm

    Sherrie,

    Yes there is something different in how Flexibility3 works. I’m actually going to start doing some videos for that theme soon.



  7. hollypowell on September 10, 2010 at 10:58 pm

    Ira,
    I emailed you about this. Let’s connect through email.



  8. Sue on March 16, 2011 at 10:19 am

    Hi Holly,

    Have bookmarked your videos this time as I had come across them before when I needed help. Unfortunately the above didn’t work for me, tried a few times however I added

    #header h3, p.tagline {visibility:hidden;}

    to the bottom of the style.php file and saved it and hey presto it disappeared. Many thanks for the videos, they are a great resource.

    Sue



Leave a Comment