Accordions: Open first tab
To keep the first accordion or tab open, you can add this code:
Code to use for Pipeline 5.0 and higher:
/* Open first accordion */
.accordion-content:first-of-type {
display:block;
}
/* end open first accordion */
Code to use for earlier versions of Pipeline:
/* Open first accordion */
.accordion-content {
padding-left:1rem;
&:first-of-type {
display:block;
}
}
/* end open first accordion */
Where do I add the code?
Use this link to learn where exactly to add this code snippet: