Drop-down menus not showing after upgrade

Reports about issues that you encounter in Suffusion
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

Drop-down menus not showing after upgrade

Postby Priscilla » 06 Mar 2012, 19:30

I love how Suffusion theme is versatile, but something very serious just happened.

After updating Suffusion, my client desperately e-mailed me because the drop-down menus disappeared. :oops:

http://kristacostin.com/voice/

Both MEDIA and REPERTOIRE have submenu items that are not showing now. Everything was working normally before.
The interesting is that when using firebug, you can see the submenus are still there, but they don't show.
I guess it's not a z-index problem.

Can you please give me a hand here?
Thank you!
Priscilla
Priscilla
 
Posts: 3
Joined: 21 Nov 2011, 09:22

Re: Drop-down menus not showing after upgrade

Postby sayontan » 06 Mar 2012, 21:19

See point #2 in the "Non-Bugs" section here: http://aquoid.com/news/2012/02/suffusion-version-4-0-2/
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: Drop-down menus not showing after upgrade

Postby Priscilla » 07 Mar 2012, 10:29

Thank you for replying, Sayontan!
I hope you don't mind if I point out a couple of things, to justify the use of menus in our case:
-this is the first time (http://kristacostin.com/) I had to create a solution for a double-use website, with two sets of menus: one for yoga area and one for voice area. This way, I used the CUSTOM MENU widget, which I believe is a well-known wordpress feature. Since your awesome template offers so many widgeted areas, I thought it was natural to use two of them (in this case Right Header Widget & Left Header Widget) and put my menus there. So, I don't believe this was a case of inappropriate use of menus. Maybe other people are doing the same. Do you think you could try to send us some ideas of how to enable the dropdown there?
- I created a temporary solution with a http://kristacostin.com/voice/ while we can't make dropdown menus work in there.

Thank you again, and if you have a solution for us, it would be very much appreciated.

Best,
Priscilla
http://www.internet-minded.com
Priscilla
 
Posts: 3
Joined: 21 Nov 2011, 09:22

Re: Drop-down menus not showing after upgrade

Postby sayontan » 07 Mar 2012, 10:46

Priscilla,
A custom menu widget is fine, but it is just that: a widget. It isn't meant for a navigation bar (otherwise you would have seen a field in the widget that lets you assign it to a navigation location, just the way you see under Appearance -> Menus).

Are you using something like Widget Logic to control which widget appears where?
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: Drop-down menus not showing after upgrade

Postby Priscilla » 07 Mar 2012, 11:13

Yes, I am using something similar to Widget Logic, but it's called Display Widgets (by Startegy11).
:cry:
I just don't understand why it was working perfectly with the drop-downs before the update.... and now it's not possible to use it anymore.
I know you are fixing lots of bugs and I appreciate your work on updating the template, but in my specific case, it doesn't feel like it was an improvement...
* sigh*

thank you anyway!

Priscilla
Priscilla
 
Posts: 3
Joined: 21 Nov 2011, 09:22

Re: Drop-down menus not showing after upgrade

Postby sayontan » 07 Mar 2012, 12:57

Here is what you can do. Go to wp-content/themes/suffusion/scripts/suffusion.js, then look for this line:
Code: Select all
$j(document).ready(function() {

(It should be around line 70)

Just after this line put in this:
Code: Select all
   $j('#left-header-widgets ul.menu, #right-header-widgets ul.menu').each(function() {
      $j(this).addClass('sf-menu');
   });
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: Drop-down menus not showing after upgrade

Postby davidreedernst » 11 Mar 2012, 13:26

Hi there. I'm Priscilla's web developer (and husband). First I want to thank you for creating and sharing this theme and for your special attention to our little problem. I'm really impressed that you were willing to offer a suggestion for a javascript solution for this problem in particular. Thank you very much for that.

Sadly, I tried your suggestion, and it didn't work. Specifically, I entered the code you suggested live using firebug's JS console. This successfully added the 'sf-menu' class as your code was apparently designed to do. However, this did not result in the dropdown menus dropping down when I hovered over them... It didn't seem to have any effect.

I don't expect you to troubleshoot our special case, I'm happy to put effort into it. But, since you have been so helpful and responsive, I wonder if you could guide me to which part of the (CSS?) code handles the dropdown functionality? I did some searching around, but nothing seemed to match what I was expecting. There's a fairly good chance that I looked at the key section but didn't realize it, if you could just give me the part I should be focused on, I can spend some time trying to get it to work.

Thanks again, and very much so, for all of your efforts! Suffusion is truly remarkable!

David
davidreedernst
 
Posts: 3
Joined: 11 Mar 2012, 13:16

Re: Drop-down menus not showing after upgrade

Postby sayontan » 11 Mar 2012, 15:00

David,
Adding this in Firebug will not help since the event that adds the menu functionality has already executed at that point. Instead you need to add the code as suggested. I am not at a computer right now so this is the best I can say
Sayontan Sinha | http://mynethome.net/blog | http://www.aquoid.com/news
I don't do freelance work (for Suffusion or otherwise), so please don't contact me for quotes or offers.
sayontan
Site Admin
 
Posts: 10159
Joined: 15 Sep 2009, 16:39
Location: Houston, Texas

Re: Drop-down menus not showing after upgrade

Postby davidreedernst » 29 Apr 2012, 08:45

Well, finally, a month and a half later, I got around to trying this (once we had a reasonable work around, it became less urgent and languished on my to-do list for far too long). Your suggestion worked perfectly! Thank you very much for your help, and sorry to be slow to deliver this bit of well-deserved appreciation!
davidreedernst
 
Posts: 3
Joined: 11 Mar 2012, 13:16

Re: Drop-down menus not showing after upgrade

Postby davidreedernst » 29 Apr 2012, 09:08

oh oh! And then, just a few minutes later, we applied the latest upgrade to the suffusion theme, to see if this change would get overwritten. And, apparently it did... but if I'm reading things correctly, you added this as part of the theme in the suffusion.js file, but further down in the file from where you first suggested it. So, it sounds like you've decided to make this a change to the theme. If so, great! We won't have to worry about the file being overwritten.

Whatever the case, thank you again very much for all your help.
davidreedernst
 
Posts: 3
Joined: 11 Mar 2012, 13:16

Next

Return to Bug Reports

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 1 guest