help to make my accordion default closed

3 replies · opened Jul 20, 2023

RroburdickJul 20, 2023

I have tried following some instructions but it's always open on page load! can you see what it is that I need to add? https://birdclick.co.uk/endonet/the-endonet-team.php

The accordion is under Patricia Fairbrother and is open!

Thanks

Rob

SSemicolon WebSTAFFJul 20, 2023

Hello,

You can consider using something like this:
[ch_pre]



Accordion Item #1



Placeholder content for this accordion, which is intended to demonstrate the .accordion-flush class. This is the first item's accordion body.


[/ch_pre]

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

RroburdickJul 20, 2023

That is great thanks for your help! Is there an easy way to make this use dark colors? I tried adding data-bs-theme="dark".

Rob

SSemicolon WebSTAFFJul 21, 2023

Hello,

Adding the .dark Class should work fine but since you are using Canvas v6.x, the data-bs-theme="dark" is not available and only Canvas v7.x has the most powerful Dark (Contrast) Color capabilities. We recommend updating to Canvas 7 if you are looking to use the Dark Color Scheme to its full extent.

Hope this Helps!

Let us know if we can help you with anything else or if you find any further issues.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard