How to switch off text in Wordpress Banner

7 replies
Hi Troopers

With this banner, I want to switch off the text that is generated by the site name and tag, because it is going over the banner itself.

See site here: De Silva Taekwon-Do

I thought it would be in the themese editor, and then header? I found the following code but don't have a clue what I'm doing LOL. Any ideas please.

</head>
<body>
<?php if(function_exists('wp_admin_bar')) wp_admin_bar(); ?>
<div id="c_wrapper">
<div id="c_container">
<div id="c_header">
<div class="top_header"></div>
<div class="content_header">
<div class="header_logo">
<span><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></span>
<p><?php bloginfo('description'); ?></p>
</div>

Thanks
Phil
#banner #switch #text #wordpress
  • Profile picture of the author iw433
    Go to "settings"--general--where it saids "Blog Title", take your blog title out, leave it blank, do the same for "Tagline". That should do it for you.
    Signature

    Bill Skywalker Edwards
    Address-O-Lite

    {{ DiscussionBoard.errors[1430015].message }}
    • Profile picture of the author koolphoto
      Bill's post is the easiest and it works. I do it this way and use the All in One SEO plugin to add a site title tag and keywords.

      If you want to remove it then another way is to comment out the code by using <!-- -->

      <!--
      <span><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></span>
      <p><?php bloginfo('description'); ?></p>
      -->

      The only problem with this way is it might mess up the header design. You need to try it and see if it works. If there is a problem then just remove the comment code.

      FYI, The Title Header is this: <a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a>

      The subtitle description is this: <?php bloginfo('description'); ?>

      I don't work on themes with the Admin editor just in case I mess something up. I always make a copy of the original page I am working on just for backup. If I mess the coding up I have the original that I can put back. I work in notepad or my prefered editor is the free pspad.
      Signature

      My name is Ken Katz and I am a Web Designer and Photographer. My motto: "If you really want to do something, you'll find a way. If you don't, you'll find an excuse." -Jim Rohn

      Celebrity Portrait Photgapher - My Photography Portfolio.

      {{ DiscussionBoard.errors[1430157].message }}
  • Profile picture of the author phil.wheatley
    Oh cool, thanks very much guys for your help. I'll try the easier method but I will also keep a copy of that code for future reference.

    Bill, I gotta say, you looked cool in that Hat! I've got a pea head so it would probably cover my entire face...or body!
    Signature



    It's still not working for you??? Need direction?...
    ---->>>> BrainDirection.com <<<<----
    {{ DiscussionBoard.errors[1430546].message }}
    • Profile picture of the author maryjane123
      have you tried to hide the text using display:none;

      here is a youtube video showing you how to do it
      youtube.com/watch?v=0kv5X6xczyQ"

      i've used it, it's easy and it works

      regards;
      maryjane
      {{ DiscussionBoard.errors[1430859].message }}
  • Profile picture of the author MrLewisSmile
    Bill's method would be fastest, but won't help your SEO one bit! Your blog is now titled "Untitled". Your title tag is one of your most important features for SEO - you can't just un-name your blog!

    Well, you CAN, but it's not good.*

    Your best option for getting rid of the words over your header is to delete the code in your header that puts the words there in the first place. Here's how..

    Delete the following code from the header.php file that you pasted above:

    <span><a href="<?php echo get_settings('home'); ?>"><?php bloginfo('name'); ?></a></span>
    <p><?php bloginfo('description'); ?></p>*

    If you're stuck, just PM me, I'll help you out. I spend almost all of my days in wordpress!

    Lewis

    P.S. Making use of the plugin All in One SEO Pack is wise too. *
    {{ DiscussionBoard.errors[1431057].message }}
  • Profile picture of the author Istvan Horvath
    Actually, maryjane123's suggestion is the best.

    Make a class in your stylesheet:
    .noshow {
    display: none;
    }


    and add the class="noshow" to whatever element you want to hide.

    e.g. <p class="noshow">lorem ipsum...</p>
    Signature

    {{ DiscussionBoard.errors[1431399].message }}
    • Profile picture of the author MrLewisSmile
      Originally Posted by Istvan Horvath View Post

      Actually, maryjane123's suggestion is the best.

      Make a class in your stylesheet:
      .noshow {
      display: none;
      }


      and add the class="noshow" to whatever element you want to hide.

      e.g. <p class="noshow">lorem ipsum...</p>
      Phil, this is much more complicated for you than simply deleting the header element you don't want. I don't know why you'd want to go about keeping it in then hiding it when you have no need to keep it at all!
      {{ DiscussionBoard.errors[1432828].message }}

Trending Topics