Hello, I am currently using an accordion with Bootstrap 4 and Vue.js. Here is the code snippet:
<div class="faq_accordion" role="tablist">
<b-card no-body class="mb-1">
<b-card-header header-tag="header" class="p-1" role="tab">
<b-button block v-b-toggle.accordion-1 variant="secondary">How were the beneficiaries selected?</b-button>
</b-card-header>
<b-collapse id="accordion-1" accordion="my-accordion" role="tabpanel">
<b-card-body>
<b-card-text>I start opened because <code>visible</code> is <code>true</code></b-card-text>
<b-card-text>{{ text }}</b-card-text>
</b-card-body>
</b-collapse>
</b-card>
</div>
I have added the following to the CSS for styling:
.faq_accordion .card-header {
background-color: #f1f1f180 !important;
background: transparent;
}
However, the background color is not showing up as intended. Any suggestions on how to fix this issue? Also, could you please advise on how to adjust the font size of the text in the accordion? Thank you!