XF 2.2 How to make html widget collapse?

Cannabis Ape

Active member
I made this custom html widget, well Russ from PixelExit provided the html and css on this forum.

Can someone help figure out the right CSS to make it able that the widget can collapse? Tried a few things but can't get it to work.

Also how can I change the icon?

Screenshot_2021-02-18 WordPress Solutions Forum.png
 
Top