Viewing 3 replies - 1 through 3 (of 3 total)
  • The custom style section should be viewed as a CSS stylesheet for collapse-o-matic plugin.

    Some examples of how I’ve used it include assigning ID’s to certain expand collapse shortcodes and then modifying the CSS.

    Example:

    [expand title="My Title" id="example"] This is my content [/expand]

    Then in the custom style section:

    #example { background-color: red; height: 50px; }

    Hope this helps!

    Plugin Author Baden

    (@baden03)

    ID’s should be unique for each element. Rather than use the id to define the css, use the trigclass class like so:

    [expand title="My Title" id="example_01 trigclass="my_class""] This is my content [/expand]

    Then in the custom style section:
    .my_class { background-color: red; height: 50px; }

    And that’s how the seahorse do!

    So that’s how you use that properly! Silly me. Thanks so much for clarifying this!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘how to add custom style?’ is closed to new replies.