Like you can see on those 2 pictures i want to delete the blue color when open and the blue border color
<div class="accordion-item">
<h2 class="accordion-header" id="flush-heading<?php echo $id; ?>">
<button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#flush-collapse<?php echo $id; ?>" aria-expanded="false" aria-controls="flush-collapse<?php echo $id; ?>">
<?php echo $row["question"]; ?>
</button>
</h2>
<div id="flush-collapse<?php echo $id; ?>" class="accordion-collapse collapse" aria-labelledby="flush-heading<?php echo $id; ?>" data-bs-parent="#accordionFlushExample">
<div class="accordion-body"><?php echo $row["reponse"]; ?></div>
</div>
</div>
thank you for your help, stef
i try few things in the css but non of them work
2
Answers
you can modify the CSS for the .accordion-button:not(.collapsed) selector. This selector is used by Bootstrap to style the button when the accordion item is open
Try this css