Monday, 12 August 2013

Collapsed and Remove actions in a box

Collapsed and Remove actions in a box

I am working with Bootstrap Flatty Theme
(https://wrapbootstrap.com/theme/flatty-flat-administration-template-WB0P6NR1N)
and I can't get to work the collapse and remove actions of the boxes.
Every page of the theme has theses boxes that can be removed or collapsed.
I copy the same html code in the new page i'm working on and it doesn't
work. I copy the same code in a page of the theme and works perfectly.
I thought I have to "active" in some way the page I'm working on so it
recognized the actions.
This is a box code examble
<div class='row-fluid'>
<div class='span12 box'>
<div class='box-header red-background'>
<div class='title'>
<div class='icon-resize-full'></div>
Complete grid sizing
</div>
<div class='actions'>
<a href="#" class="btn box-remove btn-mini btn-link"><i
class='icon-remove'></i>
</a>
<a href="#" class="btn box-collapse btn-mini btn-link"><i></i>
</a>
</div>
</div>
<div class='box-content'>
<form>
//CONTENT//
</form>
</div>
</div>
Thank you!!

No comments:

Post a Comment