Okay
  Public Ticket #2023080
Remove Dropdown carret
Closed

Comments

  • valpetao started the conversation

    Hello again, and thanks in advance.

    I don,t know if it´s possible to remove the "Carret" in the dropdown mobile menu. 

    I would like the submenu to open when I click on the button, without needing to use the carret. 

    Now I have put the button "Tienda" uncklicable, because this shop page does not exist, I only want to use it as a button to open the submenu where the real pages are.

  •  675
    Neuron replied

    Hi,

    You're welcome anytime, feel free to ask for anything you need.

    1) Simply add the following style(to remove Carret). 

    .elementor-element nav > ul li.menu-item-has-children .menu-item-icon {
        display: none !important;
    }

    2) Add the following jQuery snippet via the Custom plugin called insert headers and footers.

    https://wordpress.org/plugins/insert-headers-and-footers/

    <script>
    jQuery(document).ready(function($) {
        $('nav > ul li.menu-item-has-children').on('click', function() {
            $(this).find('.sub-menu').toggle();
        });
    }); </script>

    Feel free to ask for anything you need.

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.

  • valpetao replied

    Thanks!! It works perfect! Surely for you it is very simple, but for me it is a small miracle. 

    You have perfectly understood what I was asking, and you have given me the clear and easy solution.


  •  675
    Neuron replied

    I am very glad that we're able to help you, feel free to ask for anything you needsmile.png

    Kind Regards


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.