Subtotal: $105,175.00
Greetings,
I wanted to ask if there is a way to make tahoe2's accordion shortcode to close between panels. Is there a in-built function that I'm unaware or would I have to change the JS code to create the option?
Best regards, João Redondo
Please remove data-parent attribute from each accordion-toggle and see if it works.
It doesn't seem to work.
Please add data-parent attribute on the collapse element (instead of the trigger element):
For Example:
<div id="collapse1One" class="accordion-body collapse show" data-parent="#accordiondefault"> <div class="card-body"> <p> Donec tellus massa, tristique sit amet condim vel, facilisis quis sapien. Praesent id enim sit amet odio vulputate eleifend in in tortor. Donec tellus massa, tristique sit amet condim vel, facilisis quis sapien. Praesent id enim sit amet odio vulputate eleifend in in tortor. Donec tellus massa, tristique sit amet condim vel, facilisis quis sapien. </p> </div> </div>
I'm sorry for such a late reply.
The change was unsuccessful and I would also like to ask if I can create an anchor for each section?
Best regards.
Simply add the below code and map href accordingly:
<a data-toggle="collapse" href="#Test"> Test </a>
This would simply open the section. My intention was to create a link that would redirect to the section position.
I was able to make a workaround but anchor on this skin get covered by the menu, is there a way to correct this? I set a "scroll-margin-top" for now but different devices will require different margins.
Best regards