Bootstrap 3 tabbed content in editor template

Bootstrap 3 tabbed content in editor template

dynasoftdynasoft Posts: 276Questions: 45Answers: 3
edited March 23 in Editor


I'm trying to apply the following:!

I'm able to click a tab and the heading shows correctly but the actual content part is still stuck on the 1st tab. Happens if I use the demo the BS site gives:


   Nav tabs 
  <ul class="nav nav-tabs" role="tablist">
    <li role="presentation" class="active"><a href="#home" aria-controls="home" role="tab" data-toggle="tab">Home</a></li>
    <li role="presentation"><a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">Profile</a></li>
    <li role="presentation"><a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">Messages</a></li>
    <li role="presentation"><a href="#settings" aria-controls="settings" role="tab" data-toggle="tab">Settings</a></li>

   Tab panes 
  <div class="tab-content">
    <div role="tabpanel" class="tab-pane active" id="home">-1-</div>
    <div role="tabpanel" class="tab-pane" id="profile">-2-</div>
    <div role="tabpanel" class="tab-pane" id="messages">-3-</div>
    <div role="tabpanel" class="tab-pane" id="settings">-4-</div>


Content is stuck on '-1-'. Thanks.

EDIT: Updated triple ticks to be on new lines.


Sign In or Register to comment.