Tagged: Accordion
-
AuthorPosts
-
July 17, 2015 at 11:17 pm #475176
I have an accordion with 2 items. I can’t get them to both be open on load. I’ve placed numbers in the “Initial Open” field, and I have selected “Multiple toggles allowed open allowed”. But it only ever loads with the 2nd item open. I just want all items to be open on page load.
July 19, 2015 at 8:31 pm #475449Hi bagha!
You can use the below css in your custom css section of your theme options:
.js_active .toggle_wrap { display: block; position: static; visibility: visible; left: 0; width: auto; z-index: 1; }
Regards,
DakeJuly 24, 2015 at 5:16 pm #478304That worked! However, now the items can’t be collapsed. When I click on the item header, it collapses and re-opens in one quick animation, like it’s fighting against itself.
- This reply was modified 9 years, 4 months ago by bagha.
July 24, 2015 at 5:53 pm #478325Hey!
The css I provided forces the accordion to be consistently open.
If you would like all accordions to load on page load + be able to close, you’ll need to enlist the help of a freelancer to perform that customization.
You can also make a feature request here.
Best regards,
DakeJuly 28, 2015 at 11:32 pm #479943The accordion has an option stating:
Initial Open. Enter the Number of the Accordion Item that should be open initially. Set to Zero if all should be close on page load.
And it doesn’t work. So do broken features only get fixed through feature requests?
July 28, 2015 at 11:38 pm #479944Hi!
“Initial Open”refers to the number assigned to each accordion.
For example, if you selected “2”, the second accordion will be open when the page loads.
In the same sense that if you selected 1 then the first accordion will be open on load.
Therefore, if you used a number higher than your current amount of accordions neither of the 2 accordions will be open on load.
Cheers!
DakeJuly 28, 2015 at 11:57 pm #479950Ohhh, ok, now I understand! Sorry for the confusion; I wouldn’t have actually asked for help on this if I knew that the behavior isn’t what I wanted. I think the description wording isn’t very clear. “Enter the Number of the Accordion Item that should be open initially” sounds like it’s saying “how many accordion items do you want to be initially open.”
Thank you for your help! Is there by any chance another content element that has collapsable sections?
July 29, 2015 at 3:04 am #479977Hi!
You’re welcome bagha.
I can definitely see where you’re coming from.
I’ll notify the team and see if we can get that reworded soon.
Unfortunately right now, the only other element that even comes close would be the tab tool.
Cheers!
Dake -
AuthorPosts
- You must be logged in to reply to this topic.