Plugin Author
Baden
(@baden03)
Hi.
1. Read the documentation on Internal Collapse Trigger
2. Yes. Add the following CSS to the Custom Style: section under Dashboard > Settings > Collapse-O-Matic:
.collapseomatic_content{
margin: 0;
}
please let us know if this resolves this issue for you.
Brilliant!. Thank you for the quality support!
1. Can we apply the “Strong” attribute to the second (collapse) trigger?
2. Can we apply custom font color for both triggers?
Plugin Author
Baden
(@baden03)
Yes and yes. For both you will need to read the documentation on the trigclass attribute.
You would first set up your css (again, using the Custom Style section under the plugin options page) and set the font-weight and color properties.
.my_bold_class {
font-weight: bold;
}
.my_color_class {
color: #00ff00;
}
Now you can assign these classes using the trigclass like so:
[expand title="trigger 1" trigclass="my_bold_class my_color_class"]...[/expand]
[expand title="trigger 2" trigclass="my_color_class"]...[/expand]
Hope this resolves your issue.
I had 50% success:
The code for the opening trigger (and works fine) is:
[expand title=”Read more …” trigclass=”my_bold_class my_color_class” id=”Test1″]
The code for the closing trigger (does not work) is:
<span class=”collapseomatic colomat-close” trigclass=”my_bold_class my_color_class” id=”bot-Test1″>Click here to close the expanded text</span>[/expand]
What I am doing wrong?
Plugin Author
Baden
(@baden03)
closing trigger would look like this:
<span class="collapseomatic colomat-close my_bold_class my_color_class" id="bot-Test1">Click here to close the expanded text</span>
Thank you!
All works now.
Plugin Author
Baden
(@baden03)
great. Issue marked as resolved. If you are happy and you know it, please consider leaving a plugin review!