Comments Sasan started the conversationJuly 13, 2015 at 10:55amHi, the first accordion is always open by default. But I would like to have the first accordion stay closed unless it I click on it. What can I do?Thanks for help! 1,973Support repliedJuly 13, 2015 at 8:51pmHi, remove line 321 from /js/scripts.jsjQuery(\'dl.accordion dt\').filter(\':first-child\').addClass(\'accordion-active\');that should dothanksThank you. Clapat Support https://www.clapat.com/ Review Envato Item Support PolicySasan repliedJuly 27, 2015 at 1:51pmHi Clapat,I\'ve removed the line, but nothing changes. Another idea? 1,973Support repliedJuly 27, 2015 at 7:02pmCan you hard hard refresh the page (Ctrl+F5)? what\'s the page url? thanksThank you. Clapat Support https://www.clapat.com/ Review Envato Item Support PolicySasan repliedJuly 27, 2015 at 7:06pmthe url is http://seyfcom.de/cevey/under \"Historie\"Thanks 1,973Support repliedJuly 27, 2015 at 7:16pmChange this line as welljQuery(\'dd.accordion-content\').filter(\':nth-child(n+3)\').addClass(\'hide\');change to n+3 to n+1 to include the content of the first one.I haven\'t tested it so plz experiment a bit.thanksThank you. Clapat Support https://www.clapat.com/ Review Envato Item Support PolicySasan repliedJuly 27, 2015 at 7:21pmwonderful, great!! It work\'s. Thanks you so much!Sasan Sign in to reply ...
Hi, the first accordion is always open by default. But I would like to have the first accordion stay closed unless it I click on it. What can I do?
Thanks for help!
Hi, remove line 321 from /js/scripts.js
jQuery(\'dl.accordion dt\').filter(\':first-child\').addClass(\'accordion-active\');
that should do
thanks
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
Hi Clapat,
I\'ve removed the line, but nothing changes. Another idea?
Can you hard hard refresh the page (Ctrl+F5)? what\'s the page url? thanks
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
the url is http://seyfcom.de/cevey/
under \"Historie\"
Thanks
Change this line as well
jQuery(\'dd.accordion-content\').filter(\':nth-child(n+3)\').addClass(\'hide\');
change to n+3 to n+1 to include the content of the first one.
I haven\'t tested it so plz experiment a bit.
thanks
Thank you.
Clapat Support
https://www.clapat.com/
Review Envato Item Support Policy
wonderful, great!! It work\'s. Thanks you so much!
Sasan