normal K2 Accordion Collapse by Default

More
9 years 2 months ago #7960 by Marcus Odum
Please see attached image. The initial item is currently expanded. I tried to modify in the mod_k2_content/accordion defult file, but it does not affect the module.

Attachment accordino.jpg not found

Attachments:

Please Log in or Create an account to join the conversation.

More

Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321

Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321

Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
9 years 2 months ago #7966 by Trung Duong
Hi,

If you want closed all items as default then you can edit file: templates/ot_clinical/html/mod_k2_content/accordion/default.php

then remove this code:
Code:
<?php echo $key==0 ? ' active' : ''; ?>
on line 23

and
Code:
<?php echo $key==0 ? ' in' : ''; ?>
on line 32.

Best Regards

Support email: services(at)omegatheme(dot)com


Follow Us to keep updated!

[img


[img


[img]...[/img]

[img]...[/img]

[img]...[/img]
The following user(s) said Thank You: Marcus Odum

Please Log in or Create an account to join the conversation.

More
9 years 2 months ago #7969 by Marcus Odum
That did the trick. Thanks!

Please Log in or Create an account to join the conversation.

Time to create page: 0.278 seconds

About Growth

Innovative tech for eCommerce growth

Contact Info

Head: No. 3, 175/55 Lane, Lac Long Quan St., Nghia Do Ward, Cau Giay District, Hanoi City, Vietnam