What CSS style should I change so my accordion/card page is 100% width?

Jim.G.403
Jim.G.403 Posts: 8 🌱
edited February 13 in Higher Ed / Postsecondary

Hi,
I am using an accordion for my Syllabus. I would like it to take up 100% of the <body>.
Any ideas would be greatly appreciated.
Thanks,
Jim…

Answers

  • Hi Jim,

    Thanks for reaching out to us!

    I don't think clients can change the width of the accordion currently.

    Please let me know if you have any follow-up questions.

    Kind Regards,

    Mehak T.

  • Jim.G.403
    Jim.G.403 Posts: 8 🌱

    OK, thanks.

  • Jennifer.W.973
    Jennifer.W.973 Posts: 403 🎆

    @Jim.G.403 Hi Jim, the accordions and cards are already set to 100% width in the CSS, so where they are placed in your HTML will make the difference. They will expand to be 100% of whichever container they are in. You might need to delete some divs in your HTML code or move the accordions/cards outside of divs that have larger left and right margins or padding.

  • Jim.G.403
    Jim.G.403 Posts: 8 🌱

    OK, thanks.