Skip to main content
Question

Collapsible elements on pages: Possible?

  • August 3, 2022
  • 5 replies
  • 73 views

lrodman
Guide II
Forum|alt.badge.img+6

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

dklinger
Hero III
Forum|alt.badge.img+11
  • Hero III
  • August 3, 2022

@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.


gstager
Hero III
Forum|alt.badge.img+8
  • Hero III
  • August 3, 2022

Yes - check out the accordion post.

It was, indeed, a fine piece of work.

😉


pmo
Docebian
Forum|alt.badge.img+4
  • Docebian
  • August 3, 2022

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


gstager
Hero III
Forum|alt.badge.img+8
  • Hero III
  • August 3, 2022

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

 


pmo
Docebian
Forum|alt.badge.img+4
  • Docebian
  • August 3, 2022

Thanks @gstager. I fixed it in my post.