Different tags for expand and collapse
-
tag=”h2″ works fine and allows us to use the wordpress “h2″ that comes with the theme.
However, it would be great to have the ability to specify a different tag for collapsed and expanded tabs. If collapsed we do not want to use h2 because the fonts are too large and the spaces between two titles become to large. But if expanded, we want a title that is like h2 so we do not have to repeat the same title in the text below the expanded title. To avoid two titles there is the option of swaptitle=” ” but that causes a large white space, not ideal.
I know there is the option to specify custom styles, e.g.
.collapseomatic.red {color: #000; font-size: x-large;}
.collapseomatic.red.colomat-close {color: #C03; font-weight: bold; font-size: x-large;}
and call these up via trigclass=”red”The problem is that these are “one size fits all” css, unlike the h2 of wordpress which is optimized for various devices via @media queries. To specify custom styles in the plugin via @media queries is a bit of a pain. So it would be be easier if there was a “open tag” and a “closed tag”.
- The topic ‘Different tags for expand and collapse’ is closed to new replies.