
Tagged: Accordion malfunction
-
AuthorPosts
-
April 2, 2025 at 4:20 pm #1480653
So i have multiple accordions on my website, each with a different header. Now when i open the first line of the second or third accordion, the first line of the first accordion disappears. The same happens when I open the second line of the second or third accordion, as then the second line of the first accordion closes.
I need some help with this and hope you could log in for me to fix it, or give me some insight. I have no experience with using the CSS method but if its clearly explained i might be able to do it myself.
Thanks in advance
April 3, 2025 at 7:36 am #1480690Hey fcrmsterkens,
Thank you for the inquiry.
The issue occurs because the toggles share the same ID. To fix this, please edit each tab and assign a unique ID in Advanced > Developer Settings > For Developers: Custom Toggle ID field. For example, you can use toggle-A-1 for the first item in the first accordion, toggle-B-1 for the first item in the second accordion, and toggle-C-1 for the last accordion. Let us know the results.
Best regards,
IsmaelApril 7, 2025 at 11:55 am #1480925Hi,
I tried to use this proposal, but it does not seem to change anything. Im not sure if im doing anything wrong but i think i followed the instructions correctly.
Could there be another solution?
Greetings,
Ferenc
April 7, 2025 at 2:49 pm #1480932Hi,
Did you check the ID in the single toggles? If you need further help, then please post admin WordPress login details in private so that we can have a closer look.
Best regards,
RikardApril 7, 2025 at 5:43 pm #1480951This reply has been marked as private.April 8, 2025 at 5:57 am #1480974Hi,
Thank you for the info. We tried logging in, but we get this instead:
Tijdelijk niet beschikbaar vanwege gepland onderhoud. Probeer het over enkele minuten nog een keer.
Did you change the login URL?
Best regards,
IsmaelApril 9, 2025 at 12:13 pm #1481070This reply has been marked as private.April 9, 2025 at 8:08 pm #1481095Hi,
Thanks for the update. I changed the IDs of the first instances in the first two accordions, and it’s working as expected after that. Please review your site.
Best regards,
RikardApril 9, 2025 at 8:15 pm #1481098This reply has been marked as private.April 9, 2025 at 8:23 pm #1481100Hi,
Yes, did you try looking what I did in the ID settings for each of instances? If you do that, you will see that the IDs for each of them are different. You can go ahead and do the same thing yourself.
Best regards,
RikardApril 14, 2025 at 3:14 pm #1481308Hi,
I did this for all entries and it now works as expected. Thanks a lot for the help!
Greetings,
Ferenc
April 14, 2025 at 5:37 pm #1481319Hi,
Thanks for the update, we’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.
Best regards,
Rikard -
AuthorPosts
- The topic ‘Accordion disapears when another accordion is opened.’ is closed to new replies.