Register Advertise with usHelp Desk Today's Posts Search

Closed Thread
Thread Tools Search this Thread
Unread 18th May 2011, 07:55 AM   #1
Anti-scam warrior
War Room Member
 
Laura B's Avatar
 
Join Date: 2009
Location: Upper Michigan
Posts: 513
Thanks: 301
Thanked 93 Times in 68 Posts
Default
Need to remove this bar on my menu
Share on: 
fb share twitter share gplus share more share

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?

Free ebook: Affiliate Marketing: Just the FAQs
Affiliate marketing for brand spankin' newbies
Laura B is offline  
Unread 18th May 2011, 08:03 AM   #2
Active Warrior
 
Join Date: 2011
Location: Internet
Posts: 41
Thanks: 1
Thanked 3 Times in 3 Posts
Default
Re: Need to remove this bar on my menu
Share on: 
fb share twitter share gplus share more share

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.
Jimipedia is offline  
The Following User Says Thank You to Jimipedia For This Useful Post:
Unread 18th May 2011, 08:08 AM   #3
True Niche Sites
War Room Member
 
Steven Dybka's Avatar
 
Join Date: 2010
Posts: 428
Thanks: 129
Thanked 74 Times in 66 Posts
Default
Re: Need to remove this bar on my menu
Share on: 
fb share twitter share gplus share more share

From what I see I don't see the black bar your talking about,your site looks fine on my end.


Steve
Steven Dybka is offline  
The Following User Says Thank You to Steven Dybka For This Useful Post:
Unread 18th May 2011, 08:19 AM   #4
Liverpool FC fan :)
 
Join Date: 2011
Location: Romania
Posts: 19
Thanks: 0
Thanked 2 Times in 2 Posts
Default
Re: Need to remove this bar on my menu
Share on: 
fb share twitter share gplus share more share

You probably entered your linkedin profile twice... check out header.php at <ul class="menu">.

MrMarian is offline  
The Following User Says Thank You to MrMarian For This Useful Post:
Unread 18th May 2011, 08:28 AM   #5
Anti-scam warrior
War Room Member
 
Laura B's Avatar
 
Join Date: 2009
Location: Upper Michigan
Posts: 513
Thanks: 301
Thanked 93 Times in 68 Posts
Default
Re: Need to remove this bar on my menu
Share on: 
fb share twitter share gplus share more share

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.

Free ebook: Affiliate Marketing: Just the FAQs
Affiliate marketing for brand spankin' newbies
Laura B is offline  
Unread 18th May 2011, 08:30 AM   #6
Anti-scam warrior
War Room Member
 
Laura B's Avatar
 
Join Date: 2009
Location: Upper Michigan
Posts: 513
Thanks: 301
Thanked 93 Times in 68 Posts
Default
Re: Need to remove this bar on my menu
Share on: 
fb share twitter share gplus share more share

Originally Posted by MrMarian View Post

You probably entered your linkedin profile twice... check out header.php at <ul class="menu">.
Well, the thing is, this just appeared, and I haven't touched anything in my header in months.

Free ebook: Affiliate Marketing: Just the FAQs
Affiliate marketing for brand spankin' newbies
Laura B is offline  
Unread 18th May 2011, 11:46 AM   #7
<?php echo("Hello"); ?>
 
Join Date: 2011
Location: EU
Posts: 197
Thanks: 3
Thanked 27 Times in 27 Posts
Default
Re: Need to remove this bar on my menu
Share on: 
fb share twitter share gplus share more share

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>

......
As you can see the linkedin link is there 5(!) times. Now, I cant tell you which one yu should keep, but I am pretty sure you will only need one.

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.
andrejvasso is offline  
The Following User Says Thank You to andrejvasso For This Useful Post:
Unread 18th May 2011, 12:34 PM   #8
Anti-scam warrior
War Room Member
 
Laura B's Avatar
 
Join Date: 2009
Location: Upper Michigan
Posts: 513
Thanks: 301
Thanked 93 Times in 68 Posts
Default
Re: Need to remove this bar on my menu
Share on: 
fb share twitter share gplus share more share

Originally Posted by andrejvasso View Post

Laura,

Dont take this as a offense, but the code is horrible
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.

Originally Posted by andrejvasso View Post

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):
Since I'm using Thesis, I don't have a header.php - at least I can't find one. I've checked the header hook and there are no extra links in there.

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!

Free ebook: Affiliate Marketing: Just the FAQs
Affiliate marketing for brand spankin' newbies
Laura B is offline  
Unread 18th May 2011, 01:08 PM   #9
HyperActive Warrior
War Room Member
 
MisterE's Avatar
 
Join Date: 2003
Location: Oregon State, USA.
Posts: 681
Thanks: 497
Thanked 383 Times in 240 Posts
Default
Re: Need to remove this bar on my menu
Share on: 
fb share twitter share gplus share more share

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
MisterE is offline  
The Following User Says Thank You to MisterE For This Useful Post:
Unread 18th May 2011, 01:19 PM   #10
Anti-scam warrior
War Room Member
 
Laura B's Avatar
 
Join Date: 2009
Location: Upper Michigan
Posts: 513
Thanks: 301
Thanked 93 Times in 68 Posts
Default
Re: Need to remove this bar on my menu
Share on: 
fb share twitter share gplus share more share

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!

Free ebook: Affiliate Marketing: Just the FAQs
Affiliate marketing for brand spankin' newbies
Laura B is offline  
Unread 18th May 2011, 01:36 PM   #11
HyperActive Warrior
War Room Member
 
MisterE's Avatar
 
Join Date: 2003
Location: Oregon State, USA.
Posts: 681
Thanks: 497
Thanked 383 Times in 240 Posts
Default
Re: Need to remove this bar on my menu
Share on: 
fb share twitter share gplus share more share

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
MisterE is offline  
Unread 18th May 2011, 02:13 PM   #12
Anti-scam warrior
War Room Member
 
Laura B's Avatar
 
Join Date: 2009
Location: Upper Michigan
Posts: 513
Thanks: 301
Thanked 93 Times in 68 Posts
Default
Re: Need to remove this bar on my menu
Share on: 
fb share twitter share gplus share more share

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.

Free ebook: Affiliate Marketing: Just the FAQs
Affiliate marketing for brand spankin' newbies
Laura B is offline  
Unread 18th May 2011, 02:37 PM   #13
<?php echo("Hello"); ?>
 
Join Date: 2011
Location: EU
Posts: 197
Thanks: 3
Thanked 27 Times in 27 Posts
Default
Re: Need to remove this bar on my menu
Share on: 
fb share twitter share gplus share more share

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!
andrejvasso is offline  
Unread 19th May 2011, 09:04 AM   #14
Anti-scam warrior
War Room Member
 
Laura B's Avatar
 
Join Date: 2009
Location: Upper Michigan
Posts: 513
Thanks: 301
Thanked 93 Times in 68 Posts
Default
Re: Need to remove this bar on my menu
Share on: 
fb share twitter share gplus share more share

Originally Posted by andrejvasso View Post

Laura,
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 ??).
Yes, exactly.

Originally Posted by andrejvasso View Post

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?
Thesis has its own header upload area, and with the OpenHook plugin, it gives you "hooks," or zones where you can put custom code. That's what I've done, but I checked to make sure there wasn't extra stuff in there.

Originally Posted by andrejvasso View Post

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.
Thanks for the suggestion - that's what I'll do if the Thesis support doesn't help.

Free ebook: Affiliate Marketing: Just the FAQs
Affiliate marketing for brand spankin' newbies
Laura B is offline  
Unread 19th May 2011, 12:03 PM   #15
Anti-scam warrior
War Room Member
 
Laura B's Avatar
 
Join Date: 2009
Location: Upper Michigan
Posts: 513
Thanks: 301
Thanked 93 Times in 68 Posts
Default
Re: Need to remove this bar on my menu
Share on: 
fb share twitter share gplus share more share

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.

Free ebook: Affiliate Marketing: Just the FAQs
Affiliate marketing for brand spankin' newbies
Laura B is offline  
Closed Thread


Bookmarks

Tags
bar, menu, remove


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT -6. The time now is 11:05 PM.