Okay
  Public Ticket #2740046
acordeons closed
Closed

Comments

  • grinsekaetzchen started the conversation

    hi i use the accordeon element on my page.

    the first from the list shows always open.

    how can i show all items closed? so they just open by clicking on the topic? 


    is there any php snippet i can use? do you have a code for me i can integrate into my "code snippet" plugin? or an custom css code? anything that fix this :)

    thank you so much 

  •  933
    Neuron replied

    Hi,

    I am very sorry for the late reply, we were not working on the weekend.

    Please use the Toggle widget instead of the Accordion, It’s a similar widget but all items closed by default.

    https://prnt.sc/114njht

    Or please download the following plugin then add the following script to it.

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

    <script>
        jQuery(document).ready(function($) {
            var delay = 100;
            setTimeout(function() {
              $('.elementor-tab-title').removeClass('elementor-active');
              $('.elementor-tab-content').css('display', 'none');
            }, delay);
        });
    </script>

    Feel free to ask for anything you need.

    Kind Regards