Answer the question
In order to leave comments, you need to log in
How to make a button active in bootstrap without adding the active class?
I can’t figure out how in the example below, the link from list-group-item, becomes active when clicked without adding the active class? Added my "Advert" link, but it's not active when clicked.
<div class="panel panel-default">
<div class="panel-heading"><strong>Settings</strong></div>
<div class="list-group">
<a class="list-group-item account-settings" href="/account/settings/">
Account
</a>
<a class="list-group-item" href="/ads/">
Advert
</a>
<a class="list-group-item account-password" href="/account/password/">
Change password
</a>
<a class="list-group-item account-delete" href="/account/delete/">
Delete account
</a>
</div>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question