Viewing 25 posts - 1 through 25 (of 25 total)
  • Author
    Posts
  • #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
    Michael

    PS 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

    #709465

    Hi mleonhard!

    Most probably there is a CSS for onclick.
    Can you please provide us a link of your web site?

    Regards,
    Basilis

    #709473

    Hi 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 that

    #709505

    Hi,

    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,
    Yigit

    #709688

    Hi
    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
    Michael

    #709819

    Hi,

    You are welcome!
    We will keep the thread open and will wait to hear from you :)

    Best regards,
    Yigit

    #711998

    Hi,
    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
    Michael

    #712008

    Hi,

    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,
    Yigit

    #712012

    Ok

    #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 left

    #712028

    Hey!

    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,
    Yigit

    #712033

    Hi 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)

    #712034

    Hi,

    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,
    Yigit

    #712041

    Yes, 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
    Michael

    #712969

    Hi,

    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,
    Andy

    #713030

    Hi 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
    Michael

    #713092

    Hi,

    alright, so hopefully WP Rocket support can help you.

    Let us know if we you have issues/questions related to our themes.

    Best regards,
    Andy

    #713114

    Hi,
    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.

    #713957

    Hi,

    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,
    Andy

    #713961

    Hi Andy
    I did a new install via FTP already, it does not change anything

    #714016

    Hi,

    then we need to wait for a solution from WP Rockets plugin.

    Best regards,
    Andy

    #714344

    Hi
    Yes, I guess we can consider this one closed here
    Thanks for your help
    Michael

    #715341

    Hi,

    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,
    Andy

    #716529

    Right, 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
    Michael

    #716839

    Hi,

    thanks a lot for sharing your solution with us! Much appreciated.

    Best regards,
    Andy

Viewing 25 posts - 1 through 25 (of 25 total)
  • The topic ‘Menu does a "Shimmy" when clicked’ is closed to new replies.