I am trying to add an FAQ section to my site and would like to have some analytics on it. I managed to add the FAQ widget through the editor, but when I tryed to add event onto to it I could only find hover events and couldn’t even click a specific question (to add the event on this internal element).
I am pretty new to Corvid, but I was a full stack developer so I am familiar with coding in general.
Wix supprt sent me to this forum to find out whether and how it is possible.
I have checked some examples and I believe using transparent blocks can solve it. A followup question is whether it will work with the Wix FAQ (I will add the blocks above the elements using z axis if needed).
I all that won’t work, I believe creating an FAQ alone is the best option, but still trying to save the time.
@moshe9400 Maybe ditch the FAQ app completely and recreate its functionality in code. Hiding and showing elements on mouse click and retrieving Q&As from a database is all simple stuff. You might find it a bit daunting getting to grips with Corvid fundamentals at first but we’re here to help you out along the way if you can demonstrate you’ve tried.
I took your advice and created the FAQs alone. I took this example as the basic code.
I now have a problem I hope you can help. Currently the strip in which the FAQs lies has a constant size but when I look ay the preview, the strip shrink to the last question and is only opened when the last answer expands.
I am not sure if it is something with Corvid or Wix but maybe you can help.
Editor:
@lee1 , I need that gap for visual releif. The white footer sticks to the answer and it looks bad.
I tried increasing the gap to 70, but than it looks like there is a massive gap because the answers are collapsed (and, as far as I know, on the editor I can only edit the strip with expanded answers).
I also tryed to add an transparent container box and a themes box by the same colour. When I added the non-transparent one, I saw it exists but is placed where it would have been if all answers where expanded (looks like that). [A note that might be relevant: the code prevents more than one answer to be opened at the same time.]
I believe these two problems are the same, just different symptom. Do you have any idea on why?