html - Bootstrap customizing accordion -
i creating accordions using bootstrap, each accordion uses following div:
<div class="panel-group" id="accordion">
and each header uses:
<div class="panel-heading"> <h4 class="panel-title"> <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#collapseone">heading</a> </h4> </div>
using css, how can style text white instead of black? put style="color: white"
inside tag of each header, have use accordion many times , headers should have white text. best way override default black text?
you can use class selector achieve same. refer below css
<style> .panel-title a{ color: white !important; } </style>
Comments
Post a Comment