![]() | | ||||||||
| | #1 |
| Advanced Tea Maker War Room Member Join Date: Jul 2008 Location: London, England (Know what I mean mate!)
Posts: 892
Thanks: 177
Thanked 164 Times in 89 Posts
|
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 |
| NO Opt In Required for Below >>> OR | |
| | |
| | #2 |
| Bill Skywalker Edwards War Room Member Join Date: Nov 2002 Location: Arizona
Posts: 1,223
Blog Entries: 3 Thanks: 1,361
Thanked 80 Times in 64 Posts
|
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.
|
|
Bill Skywalker Edwards First Page of Google Small Business Web Development Services Arizona Personal Injury lawyer Dominate Google | |
| | |
| | #3 |
| Ken Katz War Room Member Join Date: Apr 2005 Location: NY, CA , USA.
Posts: 570
Thanks: 58
Thanked 46 Times in 35 Posts
|
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. |
|
My name is Ken Katz and I am a web designer and photographer.
| |
| | |
| | #4 |
| Advanced Tea Maker War Room Member Join Date: Jul 2008 Location: London, England (Know what I mean mate!)
Posts: 892
Thanks: 177
Thanked 164 Times in 89 Posts
|
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! |
| NO Opt In Required for Below >>> OR | |
| | |
| | #5 |
| Active Warrior Join Date: Mar 2007 Location: , , .
Posts: 85
Thanks: 4
Thanked 1 Time in 1 Post
|
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 |
| | |
| | #6 |
| Superhero Warrior War Room Member Join Date: Jun 2007 Location: Wales and Amsterdam
Posts: 302
Blog Entries: 2 Thanks: 1
Thanked 16 Times in 6 Posts
|
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. * |
| WSO #1: What - You're Not Blogging Yet?! (let me get you started, from building your blog to giving you all the right instructions;) | |
| | |
| | #7 |
| Watching you... War Room Member Join Date: Dec 2008 Location: Waterdown, Ontario, Canada
Posts: 6,520
Blog Entries: 2 Thanks: 1,765
Thanked 3,058 Times in 1,826 Posts
|
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> |
| | |
| | |
| | #8 |
| Superhero Warrior War Room Member Join Date: Jun 2007 Location: Wales and Amsterdam
Posts: 302
Blog Entries: 2 Thanks: 1
Thanked 16 Times in 6 Posts
| 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!
|
| WSO #1: What - You're Not Blogging Yet?! (let me get you started, from building your blog to giving you all the right instructions;) | |
| | |
![]() |
|
| Tags |
| banner, switch, text, wordpress |
| Thread Tools | |
| |
![]() |