Using Custom Formatting for Trigger Text as a Header
-
Hi there,
I am trying to use Collapse-O-Matic to collapse two sections of the page I linked to above – with the “15-DAY” header and “9-DAY” header acting as the trigger texts, and the text below them (FEES + COMMUNITY CONTRIBUTION and PROGRAM DATES) as the hidden content.
I’m trying to format the trigger text so that it looks like the formatting we currently use for those headers on our website (except with the addition of an arrow next to them, and the option to click to make the section below collapsible). For example, the html for this part on another page looks like this:
<div style=”padding: 10px; background-color: #e2e2e2; line-height: 1.4;”>
<h5 style=”text-align: center;”>9-DAY</h5>
</div>I have tried playing with the CSS for the trig class in our plugin, I’ve tried going through all of the documentation extensively, and I’ve been playing with the code for this for a while, but I’m a beginner and can’t seem to get the formatting right for these headers/trigger texts while also ensuring the section below is collapsible. Do you have any suggestions for how I could implement this?
Thanks!
-AnnaThe page I need help with: [log in to see the link]
- The topic ‘Using Custom Formatting for Trigger Text as a Header’ is closed to new replies.