Closed (works as designed)
Project:
Collapse Text
Version:
6.x-2.7
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Nov 2011 at 09:19 UTC
Updated:
27 Jul 2012 at 17:33 UTC
I'm using this:
[collapsed class="h2" title="This is my custom text"]This is my content[/collapse]
The collapsing works but the h2 style doesn't come through. The "This is my custom text" is styled as .
I've tried losing the "class" tag and applying the heading style manually in plain text view either side of the [collapsed] tag but that doesn't work either.
Is this not working or do I need to create a new CSS class for the collapsing links in my h2 style?
Comments
Comment #1
onewomanbiz commentedIn case others need this, I made a class and got it working as below:
[collapsed class="myclass" title="my title is here"]Notice the default classes I needed to specify such as legend and fieldset-wrapper. Otherwise default behavior prevents myclass taking effect.
Comment #2
pukku commentedHi! The `class` option doesn't change the tag used from `legend` to `h2` (in your example). You need to change the CSS class of `legend.YOURCLASSNAME` to be what you want it to look like.