Multiple active toggles

2 replies · opened Mar 16, 2021

Mmarinos13Mar 16, 2021

Hello,

I implemented multiple toggles on my page but I want the to be open/active in order for their contents to be showing without having to collapse them first. I tried adding the toggle-active class but it didn't work. Is there a way to do it?

Here is my code:


  
    
      
      
    
    title
  
  
    
      
        
          text
          text
        
        [
          some text
        ](book.php)
      
    
  

  
    
      
      
    
    title
  
  
    
      
        
          text
          text
        
        [
          some text
        ](book.php)
      
    
  
SSemicolon WebSTAFFMar 17, 2021

Hello,

You can simply add the data-state="open" Attribute to the .toggle Element. More Documentations can be found here: http://docs.semicolonweb.com/docs/shortcodes/toggles/ .

Hope this Helps!

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

Mmarinos13Mar 17, 2021

Thank you! it works perfectly!

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