There are a couple of ways a button can be used as a collapse-o-matic trigger:
using a stylized div
this is the hidden content
shortcode:
[expand title="Push me" trigclass="noarrow my_button" targclass="my_content" tag="div"]this is the hidden content[/expand]
css:
.my_button {
background: #4B55E3;
color: white;
padding: 5px;
width: 130px;
text-align: center;
}
.my_button.colomat-hover{
background: #999;
text-decoration: none;
}
.my_content{
margin-left: 0;
}
Using a html button:
shortcode:
[expand title="Push me" trigclass="noarrow my_button" targclass="my_content" tag="button"]this is the hidden content[/expand]
this is the hidden content