Menu error

Home Forums Jevelin Theme Menu error

Home Forums Jevelin Theme Menu error

Viewing 20 posts - 1 through 20 (of 22 total)
  • Author
  • camilo
    Participant

    When in a menu item the link is /#something
    The menu does not close when scrolling

    Any solution? thanks

    Hi @camilo,

     

    I hope you are well today and thank you for your question.

     

    Do you mean when you click on the mobile menu?

     

    Could you please share your site URL where it’s happening so that I can troubleshoot it?

     

    Best regards,
    Shufflehound team

    camilo
    Participant

    yes

    You already have access here to previous tickets. Do I send you the access again?

    https://nuevaweb.gscmadrid.com/

    Please make sure that you are using below latest version of the theme.

     


    Please login to access this file

     

    Also, instead of using relative URL as /#productos please use absolute URL like https://nuevaweb.yourwebsite.com/#productos

    camilo
    Participant

    Yes i use 4.6.6
    Using absolute urls is not fixed either

    I visited your shared website but didn’t see the changes on it.

     

    Please make sure that you have made the above shared changes and also clear the cache and temporarily deactivate the WP Rocket cache that you are using on your website.

     

    If it still does not work then please try using the custom plugin solution shared in the below topics.

     

    https://support.shufflehound.com/forums/topic/hide-mobile-menu-on-click/#post-5380

    https://support.shufflehound.com/forums/topic/main-menu-on-mobile/#post-47622

    camilo
    Participant

    I have installed the plugin and it remains the same

    camilo
    Participant

    I have seen several solutions in your forum, but none has worked for me

    I visited your shared website but didn’t see the changes on it.

     

    Please make sure that you have made the above shared changes and also clear the cache and temporarily deactivate the WP Rocket cache that you are using on your website.

    camilo
    Participant

    You can see that the plugin is uploaded and active, the cache is cleared

    Still, I don’t see you have made all the changes on your website as below.

     

    Instead of using relative URL as /#productos please use absolute URL like https://nuevaweb.yourwebsite.com/#productos

     

    Temporarily deactivate the WP Rocket cache that you are using on your website.

    camilo
    Participant

    You can see that “Servicios” if it is an absolute url
    Wp-rocket disabled
    and it does not work

    • This reply was modified 4 years, 1 month ago by camilo.

    Thank you for doing that.

     

    Now, please change the custom plugin code that you are using on your website to the code shared in the below topic.

     

    https://support.shufflehound.com/forums/topic/main-menu-on-mobile/#post-47622

    camilo
    Participant

    I have added that code and it works correctly (But only when I deactivate wp rocket and when I select the normal menu of the theme, not the wpbakery, the last option)
    Any way that works with the wpbakery menu?
    Any way it works with wp rocket? It is not a cache problem

    Thanks

    If you are using header builder template to display menu then you have to change custom plugin code as below.

     

    function add_custom_scripts(){ ?>
    	<script type="text/javascript">
    		jQuery(document).ready(function($){
    			$('.sh-nav-mobile li a').click(function(){
                                $('.sh-header-builder-mobile-menu').trigger('click');
                            });
    		});
    	</script>
    <?php }
    add_action('wp_footer', 'add_custom_scripts', 99);

     

    Any way it works with wp rocket? It is not a cache problem

    Whenever you make changes in the custom plugin code or menu settings then just clear the WP rocket plugin cache.

     

    If it still doesn’t work for you then please contact the wp rocket plugin support to configure plugin settings properly.

    camilo
    Participant

    one of the problems with the code is that you cannot defer from js

    camilo
    Participant

    Can you include it in a new update? so there are no incompatibility problems with other plugins

    one of the problems with the code is that you cannot defer from js

    I am not sure what you mean by deferring it from js.

     

    Please advise.

    Can you include it in a new update? so there are no incompatibility problems with other plugins

    Sure, we will consider this to be implemented in the future version of the theme.

    The issue is resolved in the below latest version of theme so please update the theme as described here https://support.shufflehound.com/updating-theme/

     


    Please login to access this file

    camilo
    Participant

    I have updated, removed the code and it still doesn’t hide

Viewing 20 posts - 1 through 20 (of 22 total)