Plugin Author
Baden
(@baden03)
remove the colomat-close class in the target and you’ll be good to go.
Thread Starter
allm
(@realblueorange)
Hi Baden,
Thanks for your quick reply.
I tried your solution just now, but that doesn’t seem to work.
This is the code I now have:
[expand title="Trigger" id="coll-3336" elwraptag="div" elwrapclass="other-color-lightback"]Content.<div class="collapseomatic scroll-to-trigger" id="coll-3336">Click here to close.</div>[/expand]
Plugin Author
Baden
(@baden03)
oh man, sorry. Yeah, I see what you got going on there. You want an internal trigger to close the content at the bottom, right? So a couple of things:
1. Don’t use the dash/minus (-) in the ID of the trigger.
2. the internal collapse trigger needs to have an iD of bot-<TRIGGER_ID> (see example below)
So first, lets create an expand without the internal collapse trigger. For this, the code would be something like:
[expand title="Trigger" id="coll3336" tag="div" trigclass="other-color-lightback"]Content.[/expand]
After you ensure this is working and looking how you like, add the internal collapse trigger like’a so:
[expand title="Trigger" id="coll3336" tag="div" trigclass="other-color-lightback"]Content.<div class="collapseomatic colomat-close scroll-to-trigger" id="bot-coll3336">click here to close</div>[/expand]
BAM, things should be working. Hit us back with your results.
Thread Starter
allm
(@realblueorange)
Hi Baden,
Thanks a lot. This works great. I tried to combine some of the options and apparently I missed the “bot-” part. It is there in your really good documentation (I do see it now!), but I just copied the example and missed it.
Thanks for pointing this out and a great service!
I’ve got it working now.
Plugin Author
Baden
(@baden03)
glad to hear it! thank you for voting for pedro!