-
AuthorPosts
-
November 7, 2016 at 7:18 pm #709435
Hi,
in Chrome and Opera the menu of my site moves slightly to the right and back again
when an item is clicked. Other browser I have tried are ok.
I suppose this has something to do with CSS formatting (I have made some changes), but don’t know where the error lies.
Would be grateful for some hints.
Thanks for your help
MichaelPS Perhaps it is not CSS after all. As a test I have deleted all the quick CSS in Enfold and the phenomenon is still there
November 7, 2016 at 9:28 pm #709465Hi mleonhard!
Most probably there is a CSS for onclick.
Can you please provide us a link of your web site?Regards,
BasilisNovember 7, 2016 at 9:43 pm #709473Hi Basilis
thanks for your quick reply. I had used the link button in the text editor, but it does not seem to work
here is the link just like thatNovember 7, 2016 at 10:22 pm #709505Hi,
Can you please try de-activating all active plugins and check if that helps? If not, please create a temporary admin login and post it here privately.
Best regards,
YigitNovember 8, 2016 at 10:55 am #709688Hi
thanks for pointing me in the right direction. It is apparently my cache plugin WP Rocket that is the cause.
Not sure where a solution is to be looked for, maybe Enfold?
I am going to contact WP Rocket support in any case and let you know what they say
Kind Regards
MichaelNovember 8, 2016 at 2:40 pm #709819Hi,
You are welcome!
We will keep the thread open and will wait to hear from you :)Best regards,
YigitNovember 14, 2016 at 3:19 pm #711998Hi,
WP Rocket are still looking at this issue.
In the meantime, it seems that it is connected to the search icon in the menu. There is no jumping when the search is disabled in Enfold.
Perhaps someone here can look at this from the Enfold perspective?
Thank you and kind regards
MichaelNovember 14, 2016 at 3:32 pm #712008Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
Login credentials include:
- The URL to the login screen.
- A valid username (with full administration capabilities).
- As well as a password for that username.
- permission to deactivate plugins if necessary.
Best regards,
YigitNovember 14, 2016 at 3:37 pm #712012November 14, 2016 at 3:56 pm #712025“On the surface” this is what is apparently happening:
Click on a menu item -> the search icon vanishes for a moment and the menu moves right into that space,
the search menu appears again and the menu moves back to the leftNovember 14, 2016 at 4:02 pm #712028Hey!
I added following code to the top of Quick CSS field in Enfold theme options > General Stylign tab
ul#avia-menu { max-width: 740.5px; }
Please review your website now
Regards,
YigitNovember 14, 2016 at 4:08 pm #712033Hi Yigit
Thanks for your quick response.
the CSS does not help though. Search icon still disappears and the menu move to and fro
(in Chrome and Opera other browsers like Firefox and IE11 are ok)November 14, 2016 at 4:10 pm #712034Hi,
Please flush browser cache and refresh your page a few times – http://wiki.scratch.mit.edu/wiki/Hard_Refresh. It does work fine on my end :)
Best regards,
YigitNovember 14, 2016 at 4:21 pm #712041Yes, did that. also newly installed Chrome especially on my notebook
Still does not work for me.
Also, with every Ctrl+F5 the menu appears first, then the search icon an the menu moves to the left.
It really looks like the menu items and search icon are not loaded simultaneusly
Kind regards
MichaelNovember 16, 2016 at 4:04 pm #712969Hi,
I noticed that you are using a caching plugin. Would you mind opening your plugin’s settings page and temporarily deactivate the caching of your site? Then please try to clear your browser cache and hard refresh the site (Hold CTRL + SHIFT + RELOAD) to see if that solves the issue.
Afterwards deactivate all plugins, to check if one is causing this issue.Also there might be some corrupted files, so please delete all theme files completely via FTP, before installing a fresh copy from your themeforest account. Here is a short tutorial on how to install the theme via FTP, in case you are not sure how that works:
Best regards,
AndyNovember 16, 2016 at 4:50 pm #713030Hi Andy,
the problem is apparently connected to WP Rocket (see above), because deactivating the plugin “solves” the issue.
WP Rocket is also looking at this and have asked for input by the theme provider (quote “Finding a way to load icons first could be a solution”)A new Enfold installation via FTP did not make a difference btw.
Thank you
MichaelNovember 16, 2016 at 5:41 pm #713092Hi,
alright, so hopefully WP Rocket support can help you.
Let us know if we you have issues/questions related to our themes.
Best regards,
AndyNovember 16, 2016 at 6:20 pm #713114Hi,
they are working on it and I also hope for the best.
To support this, they asked for ideas from you, because you know Enfold in more detail.November 18, 2016 at 12:54 pm #713957Hi,
I’ve never heard about this issue before.
There might be some corrupted files, so please delete all theme files completely via FTP, before installing a fresh copy from your themeforest account. Here is a short tutorial on how to install the theme via FTP, in case you are not sure how that works:Best regards,
AndyNovember 18, 2016 at 1:05 pm #713961Hi Andy
I did a new install via FTP already, it does not change anythingNovember 18, 2016 at 2:22 pm #714016Hi,
then we need to wait for a solution from WP Rockets plugin.
Best regards,
AndyNovember 19, 2016 at 1:49 pm #714344Hi
Yes, I guess we can consider this one closed here
Thanks for your help
MichaelNovember 22, 2016 at 3:20 pm #715341Hi,
glad we could help. Let us know in a new ticket if you have some more questions related to the theme. We are happy to assist you.
Best regards,
AndyNovember 24, 2016 at 5:42 pm #716529Right, after some trying I found the explanation. this may help others in future:
I had Relevanssi installed, but the error did not disappear when deactivating it. Therefore I did not think the cause was there.
then I remembered some extra code I included in the functions.php due to this:
https://kriesi.at/support/topic/auto-suggest-funktion-der-suche/
and this https://kriesi.at/support/topic/enfold-code-update-for-2-2-to-use-relavanssi-plugin//* * add Relevanssi for WordPress searches */ add_filter('avf_ajax_search_function', 'avia_init_relevanssi', 10, 4); function avia_init_relevanssi($function_name, $search_query, $search_parameters, $defaults) { $function_name = 'avia_relevanssi_search'; return $function_name; } function avia_relevanssi_search($search_query, $search_parameters, $defaults) { global $query; $tempquery = $query; if(empty($tempquery)) $tempquery = new WP_Query(); $tempquery->query_vars = $search_parameters; relevanssi_do_query($tempquery); $posts = $tempquery->posts; return $posts; } /* * disable Ajax search */ add_filter('avf_frontend_search_form_param', 'avia_deactivate_ajax_search',10,1); function avia_deactivate_ajax_search($params) { $params['ajax_disable'] = true; return $params; }
After deleting this, the menu stays still, also with the search enabled.
All the best
MichaelNovember 25, 2016 at 2:00 pm #716839Hi,
thanks a lot for sharing your solution with us! Much appreciated.
Best regards,
Andy -
AuthorPosts
- The topic ‘Menu does a "Shimmy" when clicked’ is closed to new replies.