Shop Categories

X

Accordion Open

Home Forums Agama Pro Accordion Open

Topic Resolution: Resolved
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #26279
    sarafianoslab
    Participant

    How do I set my accordion to be open upon page open?

    #26286
    Zex
    Moderator

    Hi,

    Unfortunately,
    Only the one element can be opened upon page open, (as you already have it).
    https://prnt.sc/s1c1r6

    Regards

    #26287
    sarafianoslab
    Participant

    I was told in messenger to go with Elementor Page builder to be able to add the CSS which I have purchased. You are now saying that this is not possible at all?

    #26288
    Zex
    Moderator

    Hi,

    The Accordion element you are currently using is part of the WP Bakery Page builder. (Not the Elementor)

    Please could you be more specific about what exactly you want to do with the accordion?
    Do you want all elements to open when you open a page or just one?

    • This reply was modified 2 years, 2 months ago by Zex.
    #26290
    sarafianoslab
    Participant

    We want all elements (sections) open on the accordion upon page open. I have switched to elementor editor. I had previously tried to use the following code example:

    .description-always-open {
    display: block !important;
    }

    But received an error stating that I didn’t have permissions.

    I spoke to somebody on your facebook messenger who told me to switch to elementor. You have to purchase the pro to enable adding css. So, I did.

    Please guide me in converting to a new accordion via elementor if that needs to be done in order to display all elements open.

    #26291
    Zex
    Moderator

    Hello,

    Thank you for clarifying to me.

    Please try to add the following code into Customizing->General->Extra… Custom jQuery Footer text field:

    jQuery(document).ready(function(){
     jQuery('.vc_tta-panel').addClass('vc_active');
    });

    https://prnt.sc/s1cyjn

    Regards

    • This reply was modified 2 years, 2 months ago by Zex.
    #26294
    sarafianoslab
    Participant

    Yes! This worked! Thank you!

    #26295
    Zex
    Moderator

    You are welcome!

    The following code works even better:

    jQuery(window).load (function(){
     jQuery('.vc_tta-panel').addClass('vc_active');
    });

    https://prnt.sc/s1d71c

    Regards

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