Question

Collapsible elements on pages: Possible?

  • 3 August 2022
  • 5 replies
  • 50 views

Userlevel 7
Badge +5

I’d like to make elements on pages collapsible - for example, the beta notification I have on this homepage; I’d love to have a triangle/caret there to collapse. I don’t think I can do this with HTML or CSS, can I?

 

 


5 replies

Userlevel 7
Badge +6

@lrodman - if you are thinking about an “accordion”? That may be able to do it for you.

There are quite a few articles out there.

@gstager  covers it nicely conceptually for you.

Userlevel 7
Badge +5

Yes - check out the accordion post.

It was, indeed, a fine piece of work.

😉

Userlevel 7
Badge +2

There is a CSS guide with HTML and CSS located here in the University: 

https://university.docebo.com/share/asset/view/69


You can see an example of the accordion by going to the Support and FAQ page in DU: 
https://university.docebo.com/pages/93/support-faqs

Userlevel 7
Badge +5

Hmm… I am getting a 404 Not Found Error on the first link.

If I remove the part in parentheses it works.

https://university.docebo.com/share/asset/view/69

 

Userlevel 7
Badge +2

Thanks @gstager. I fixed it in my post. 

Reply