| | #1 |
| Anti-scam warrior War Room Member Join Date: 2009 Location: Upper Michigan
Posts: 513
Thanks: 301
Thanked 93 Times in 68 Posts
|
This just appeared recently on my WordPress site - I sure don't think I changed anything but I must have and didn't notice it right away. Learn affiliate marketing for beginners There's this black bar above my menu that acts like part of the nav menu when you roll over it but it links to my LinkedIn page for some reason. There's also a small one over the Home link. I can't figure out how to remove them. Can anyone take a peek? |
| | |
| |
| | #2 |
| Active Warrior Join Date: 2011 Location: Internet
Posts: 41
Thanks: 1
Thanked 3 Times in 3 Posts
|
Hello Laura, I don't know how you template coding look like but you can check Appearance > Editor. Normally it's under Header.php Hope this will help. |
| |
| The Following User Says Thank You to Jimipedia For This Useful Post: |
| | #3 |
| True Niche Sites War Room Member Join Date: 2010
Posts: 428
Thanks: 129
Thanked 74 Times in 66 Posts
|
From what I see I don't see the black bar your talking about,your site looks fine on my end. Steve |
| |
| The Following User Says Thank You to Steven Dybka For This Useful Post: |
| | #4 |
| Liverpool FC fan :) Join Date: 2011 Location: Romania
Posts: 19
Thanks: 0
Thanked 2 Times in 2 Posts
|
You probably entered your linkedin profile twice... check out header.php at <ul class="menu">.
|
| | |
| |
| The Following User Says Thank You to MrMarian For This Useful Post: |
| | #5 |
| Anti-scam warrior War Room Member Join Date: 2009 Location: Upper Michigan
Posts: 513
Thanks: 301
Thanked 93 Times in 68 Posts
|
Wow, this is weird. The problem is in Firefox, Safari, and Chrome. IE is fine. Usually it's the other way around! Thanks, Jimipedia. I should have mentioned I'm using Thesis. |
| | |
| |
| | #6 |
| Anti-scam warrior War Room Member Join Date: 2009 Location: Upper Michigan
Posts: 513
Thanks: 301
Thanked 93 Times in 68 Posts
| |
| | |
| |
| | #7 |
| <?php echo("Hello"); ?> Join Date: 2011 Location: EU
Posts: 197
Thanks: 3
Thanked 27 Times in 27 Posts
|
Laura, Dont take this as a offense, but the code is horrible ![]() Now lets see if we can find what exactly is causing this. lets open header.php (or whatever the filename is where you have saved this code - most propably header.php) and we find this (I have allready cleaned it up a bit for readability): Code: <div id="linkedinlogo"> <a href="http://twitter.com/imteacher/" rel="nofollow" target="_blank"> </a> <a href="http://www.linkedin.com/pub/laura-burke/10/436/41a/" rel="nofollow" target="_blank"><img src="http://skipthescams.com/wp-content/uploads/2010/08/linked-in-logo.png"> </a> </div> <a href="http://www.linkedin.com/pub/laura-burke/10/436/41a/" rel="nofollow" target="_blank"> </a> </div> <a href="http://www.linkedin.com/pub/laura-burke/10/436/41a/" rel="nofollow" target="_blank"> </a> <ul class="menu"> <a href="http://www.linkedin.com/pub/laura-burke/10/436/41a/" rel="nofollow" target="_blank"> </a> <li class="tab tab-home current"> <a href="http://www.linkedin.com/pub/laura-burke/10/436/41a/" rel="nofollow" target="_blank"></a> <a href="http://skipthescams.com" rel="nofollow">Home</a> </li> <li class="tab tab-1"> <a href="http://skipthescams.com/contact/" title="Contact me">Contact me</a> </li> ...... Lets try to find out what link is doing what: -the two links inside the linkedinlogo container are the ones in your logo on the right side. -the next two linkedin links are not visible, because they contain no anchor text and no image. -the next link is inside your nav-list ("<ul>"). This one will most probably cause the big black bar above your navigation. -the next link is inside the first <li> tag. This one may be the cause of the black bar. My suggestion is that its either the link after <ul> or the link inside the first <li> that is causing your problem. Try to open up the php file which contains that code and delete all unneccessary links and you should be fine. |
| |
| The Following User Says Thank You to andrejvasso For This Useful Post: |
| | #8 | |
| Anti-scam warrior War Room Member Join Date: 2009 Location: Upper Michigan
Posts: 513
Thanks: 301
Thanked 93 Times in 68 Posts
|
None taken. Good grief, that is a mess. But I thought Thesis was supposed to write fairly clean code. And I still don't understand why it suddenly happened. It just started a couple of days ago.
I don't know if you know Thesis or not, but maybe my next step should be to post on the Thesis forum. Thanks for your help, though, I appreciate it! | |
| | ||
| |
| | #9 |
| HyperActive Warrior War Room Member Join Date: 2003 Location: Oregon State, USA.
Posts: 681
Thanks: 497
Thanked 383 Times in 240 Posts
|
Laura, First of all I know very little about HTML and CSS, but, I was playing around with the code in Firebug... I deleted the offending code for the bar that you want removed, after doing so there was still a bit of the bar remaining above the 'Home' tab... I deleted this second bit of additional code and all was fine with the site in Firefox..... My uneducated guess is that it may be a problem with the CSS... Again, I am no expert. Mark |
|
"Procrastination is like a credit card: it's a lot of fun until you get the bill" Christopher Parker
| |
| |
| The Following User Says Thank You to MisterE For This Useful Post: |
| | #10 |
| Anti-scam warrior War Room Member Join Date: 2009 Location: Upper Michigan
Posts: 513
Thanks: 301
Thanked 93 Times in 68 Posts
|
Thanks very much for taking a look. I guess my problem is that I don't know where to go to make those deletions since I don't have a header.php. I've got a post on the Thesis forum asking that very thing. Thanks again! |
| | |
| |
| | #11 |
| HyperActive Warrior War Room Member Join Date: 2003 Location: Oregon State, USA.
Posts: 681
Thanks: 497
Thanked 383 Times in 240 Posts
|
Laura, if your using Firefox as your browser you should try installing Firebug. It's a lot of fun to play with. The only thing you need to know when you're starting out with it is what 'button' to click that highlights the different elements on a page. The button you need to use is the one 'inspect element...' right next to the 'Bug' on the left side of the panel. And just so you can have more fun, whatever element your looking at can be deleted with a click of the right mouse button and choosing delete.. It won't hurt a thing, it's not actually deleting any of your files it's just modifying the code that's being used to display the current page. It truly is a lot of fun to play with. There are a ton of additional addons that make working with Firebug even greater. Here's a list to get you started. Mark |
|
"Procrastination is like a credit card: it's a lot of fun until you get the bill" Christopher Parker
| |
| |
| | #12 |
| Anti-scam warrior War Room Member Join Date: 2009 Location: Upper Michigan
Posts: 513
Thanks: 301
Thanked 93 Times in 68 Posts
|
Thanks, Mark, but I'm embarrassed to admit I have and use Firebug already. I can use the inspect button to find the problem but it's confusing to me and it seems I can never figure out what file I need to go into to change it for real. I will definitely take a look at those add-ons, thanks! It's probably a matter of just sitting down one day and doing nothing else but learn Firebug, but something else always takes priority.
|
| | |
| |
| | #13 |
| <?php echo("Hello"); ?> Join Date: 2011 Location: EU
Posts: 197
Thanks: 3
Thanked 27 Times in 27 Posts
|
Laura, I have had a look at the thesis theme and I saw that it is a rather complex construct. Not that simple to identify where the actual html code is in. I have found the header.php (in a subdir) and it calls the thesis_default_header function. Afterall the code that we were talking about is in the following file: "lib/classes/head.php". Additionally most of the head code seems to be created dynamically (I guess you can modify a huge part of this theme via an internal options/design menu ??). Additonally, if you didnt touch the php files, than its unlikely that there is any problem at all. My bet is you wont need to edit any .php file afterall. Does Thesis allow you to use a custom header with html code? Did you paste some code in there to use as header? I think the problem is not the theme itself, but the modifications you have done with it. You could try to backup your current site and reinstall the theme to check if the problem dissapears. Than add your plugins and content one-by-one to narrow down the problem. Anyways, I suggest you contact the Thesis support team and ask them for help too! Regards! |
| |
| | #14 | ||
| Anti-scam warrior War Room Member Join Date: 2009 Location: Upper Michigan
Posts: 513
Thanks: 301
Thanked 93 Times in 68 Posts
|
Thanks for the suggestion - that's what I'll do if the Thesis support doesn't help. | ||
| | |||
| |
| | #15 |
| Anti-scam warrior War Room Member Join Date: 2009 Location: Upper Michigan
Posts: 513
Thanks: 301
Thanked 93 Times in 68 Posts
|
Someone on the Thesis forum figured it out - it was the absence of closing anchor tags on the links. I haven't figured out why it was fine for months and months and suddenly started causing that black bar just a few days ago, because I haven't touched it - but in any case, it's fixed now. Thanks again to all here to pitched in.
|
| | |
| |
|
| Bookmarks |
| Tags |
| bar, menu, remove |
| |