Faq first question to be opened by default

1 reply·opened Sep 26, 2019
D
disse5578Sep 26, 2019

Hi, is there a quick way to have the first question in the faq opened by default?
Thank you.

S
SemiColonWebSTAFFSep 26, 2019

Hello,

Simply add the data-state="open" Attribute to the .toggle Element. Example:

<div class="toggle faq faq-marketplace faq-authors" data-state="open">
	<div class="togglet"><i class="toggle-closed icon-question-sign"></i><i class="toggle-open icon-question-sign"></i>How do I become an author?</div>
	<div class="togglec">....</div>
</div>

This will definitely work fine. 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