elettra Posted April 29, 2022 Share Posted April 29, 2022 Site URL: https://www.velocitta.it Hello, I am trying to make two different accordions in one of my page (it is the program of a festival wich develops in 2 days, I really like the hide and see accordion feature, so I am trying to customize the accordions and make it work for my specific case) Here is my situation: I have 2 accordions for the 2 days (Saturday, Sunday) one next to each other ; in every accordion I have multiple items ; every item is one event ; every event has an icon wich refers to the 'type' of event (bike ride, food, game, talk, ...) I succeeded in putting this icons by adding some CSS and following @tuanphan codes injection. My problem now is for example: the Item 1 of Accordion 1 (Saturday) has the 'food' icon ; but the Item 1 of Accordion 2 should have the 'game' icon. But since it is the 1st Item it will automatically give the same icon since he considers I have 1 accordion only. Is there a way to name differently the 2 accordions so that they are not linked? Do you have any advise? Thank you !! Link to comment
tuanphan Posted May 1, 2022 Share Posted May 1, 2022 Can you share link to page in screenshot? I don't see it on homepage elettra 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
elettra Posted May 2, 2022 Author Share Posted May 2, 2022 (edited) Hello @tuanphan 🤗 here is the correct link:https://www.velocitta.it/edizione-2022-programma Thank you so much, your help is much appreciated Edited May 3, 2022 by elettra Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment