Tagged: 

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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.

    #475449

    Hi 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,
    Dake

    #478304

    That 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.
    #478325

    Hey!

    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,
    Dake

    #479943

    The 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?

    #479944

    Hi!

    “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!
    Dake

    #479950

    Ohhh, 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?

    #479977

    Hi!

    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

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.