Home Forums WoodMart support forum Accordion state First opened not working

Accordion state First opened not working

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #641499

    ddf
    Participant

    Basically what the tittle says. I’m using accordion for the tabs, and on “Accordion state” I have selected “First opened”. However, the tab doesn’t stay opened. See image attached and link.
    Thx

    Attachments:
    You must be logged in to view attached files.
    #641677

    Luke Nielsen
    Member

    Hello,

    Is there any chance that you could give me access to the dashboard area so I can check the settings there?

    Thank you in advance.

    Kind Regards

    #641683

    ddf
    Participant

    Yes, see below.

    #642230

    Luke Nielsen
    Member

    Hello,

    I apologize for the delay.

    May I disable 3rd party plugins and enable the parent theme for testing?

    I await your response.

    Kind Regards

    #649173

    ddf
    Participant

    Hi,
    Apologies for the delay.

    Yes, you may disable 3rd party plugins for testing.

    #649191

    Luke Nielsen
    Member

    Hello,

    This https://prnt.sc/6AkvRAtc_jfL plugin causes that issue.

    Disable it, clear the cache and recheck the issue.

    Kind Regards

    #649226

    ddf
    Participant

    Hi,

    That’s correct.
    Is there a way to overwrite the code from this plugin so that it prioritises the open tab code?

    Thanks!

    #649228

    Luke Nielsen
    Member

    Hello,

    Sorry, but editing code from the 3rd party plugin is beyond our limitations and support policy scope. Hope you can understand our limitations.

    I suggest you contact the plugin’s support team for further solutions.

    Kind Regards

    #649232

    ddf
    Participant

    I mean add extra code for the theme.
    Add some css (!important) code or js code to make the open tab code priority.

    Basically make class wd-accordion-title tab-title-description wd-active always wd-active.

    #649270

    ddf
    Participant

    I found a solution. By adding a script to function.php that changes:

    element.className = "entry-content woocommerce-Tabs-panel woocommerce-Tabs-panel--description wd-scroll wd-accordion-content wd-active";
                        element.style.display = "block";

    1 sec after the page load.
    This works.

    #649272

    Luke Nielsen
    Member

    Hello,

    Glad that you found a solution.

    Always remember that you can reach out to us with any questions you may have.

    Have a good day!

    Kind Regards

Viewing 11 posts - 1 through 11 (of 11 total)

The topic ‘Accordion state First opened not working’ is closed to new replies.