-
Beta Was this translation helpful? Give feedback.
Answered by
Edditoria
Sep 30, 2022
Replies: 2 comments 2 replies
-
You can use the CSS variables provided by Bootstrap, and apply to .accordion {
--bs-accordion-btn-color: ghostwhite;
--bs-accordion-btn-bg: pink;
--bs-accordion-active-color: maroon;
--bs-accordion-active-bg: lightpink;
} Hope it helps. Happy Coding :) |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
michelami
-
To change the background behind a title, create a custom.css file and add: .header-title {
background-color: #desiredColor; /* Replace with your color */
} Include it in your HTML after Bootstrap's CSS: <link rel="stylesheet" href="path/to/bootstrap.css">
<link rel="stylesheet" href="path/to/custom.css"> very recently, i have changes the accrodian background of inasaldiningprices.com, a great filipino site that covers [[local fast food menu] |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the CSS variables provided by Bootstrap, and apply to
.accordion
:Hope it helps. Happy Coding :)