Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
coding-topic
Hover Menu Disappears Too Quickly in Forum Page
Avatar
Arnel
Member
Free Members
Offline
Dec 16, 2017 - 11:02 pm

Hey hey.  Please help me fix my issue with the simple press plug in.

I have a Woocommerce plug in.  There is a mini cart in the upper right corner.  When you hover your mouse, a menu appears.  Unlike in all other pages, the behaviour of the menu is different in the Forum page (https://www.stockswechart.com/rally/) -- it disappears too quickly when you move your mouse pointer from the minicart button to the item in the menu it, making it difficult to click the item.  I noticed that the menu disappears as soon as your mouse pointer touches the black background of the "view your shopping cart" tooltip.  This tooltip has a white background in all the other pages on my site, except the forum page.

See these screenshots:  

https://www.screencast.com/t/4eslaKda
https://www.screencast.com/t/d.....drMbbHUKIz

To replicate the issue:
1)  Go to my site, https://www.stockswechart.com/, click Account menu then register.
2)  Go to Market and add an order.  The minicart only appears when it is not empty.
3)  Compre the behaviour of the minicart in the blog page (https://www.stockswechart.com/blog/) versus the forum page (https://www.stockswechart.com/rally/).

When I deactivate the simple press plug in, the behaviour of the minicart becomes exactly like its behaviour anywhere else on my site so I know that the strange behaviour has something to do with the simple press plug in.  When simple press plug in is deactivated, the "view your shopping cart" tool tip has a white background.

Please help me fix this so that the hover menu is easy to use -- that it does not disappear too quickly.  I don't really care whether we remove the tooltip or not -- I just want the hover menu to be usable.  Thank you.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
Offline
Dec 17, 2017 - 1:27 am

sounds like some tooltip javascript conflict between the two - though not been reported between the two previously... as you mention, would just try disabling the forum tooltips...

to do this, first create a child theme...  you can get a reboot child theme starter for free in our store...

Then create an empty spFunctions.php file and add the following line:

if (!defined('SP_TOOLTIPS')) define('SP_TOOLTIPS', false);

that should disable the forum tooltips...

Avatar
Arnel
Member
Free Members
Offline
Dec 17, 2017 - 3:59 am

After putting if (!defined('SP_TOOLTIPS')) define('SP_TOOLTIPS', false); in the empty spFunctions.php in the Reboot child theme, nothing happened.  The tooltip with the black backgroujd is still there and the behaviour of the hover menu is the same.

I think this did not work because the tooltip we are trying to disable is not the tooltip of Simple Press but the tooltip of Woocommerce minicart.  Would you have another solution?

Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
Dec 17, 2017 - 6:08 am

We will need to take a look at the site. I am guessing it will be some sort of CSS issue or a script conflict.

However - as a matter of policy we do not register on users sites but ask you to create an account and set up the necessary data so we can come in and see what is what.

So could you please create an account and expose the cart so that we can log in and see the forum behaviour. Please send a PM to both myself (Yellow Swordfish) and Mr Papa.

It helps if you can include links to not just your forum but also to this topic so we can get to it quickly to re-read what has been said. A brief reminder of the problem is also very helpful.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Arnel
Member
Free Members
Offline
Dec 17, 2017 - 7:21 am

I sent a private message to you and Mr. Papa.

Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
Dec 17, 2017 - 10:32 am

Actually I don't have much of a problem maintaining the drop down. But you do need to slide the mouse cursor to the side of the tooltip. So - did you change the tooltip setting in SP because they are still being used on your site at the moment. Can you turn them off and then I can take another look.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Arnel
Member
Free Members
Offline
Dec 17, 2017 - 10:40 am

I put back the code to turn off the tooltip.  See screenshot:  https://www.screencast.com/t/q.....9g6pppWhk5.

I put this in this file:  public_html/wp-content/sp-resources/forum-themes/reboot-child/templates/spFunctions.php

Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
Dec 17, 2017 - 10:48 am

If you look above your line you will see that that code was already in place. Only it is setting it ti true. You should delete your line and just change the true to false in the first line.

And then - just check that you have switched your SP theme from Reboot to the Reboot child theme.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Arnel
Member
Free Members
Offline
Dec 17, 2017 - 10:52 am

Done.  I deleted my line and changed the already existing line of code to false.  Then I double checked that I'm using the reboot-child theme, confirmed.

Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
Dec 17, 2017 - 11:01 am

And I see it is looking good now.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online: samantaezp
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17366
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626