Support » Plugin: Collapse-O-Matic » Collapsing titles change color in different pages

  • Resolved aralice

    (@aralice)


    Hello

    first of all thank you for your plugin that we are extensively using in different pages of our wordpress website.

    I would like to change the color of a title when it is on, and give other colors to the other titles, when they are off
    I did one group of titles, and it works fine. I did another group of titles, and it is not changing colours as expected.
    Inside the plugin settings I added another highlight_testimonials, but this doesn’t help.

    I used for the
    FIRST GROUP
    ‘[expand title=”XXxX” trigclass=”collapseomatic arrow_box highlight” class=”button-shape” trigclass=”noarrow” id=”kraftwerk” rel=”animal-highlander” expanded=”true” elwraptag=”li”]’

    ‘.highlight{background:#C10000; color: #FFFFFF;}
    .collapseomatic {background: #ecf0f1;color: #424242;}’

    SECOND GROUP
    ‘[expand title=”YYY” id=”kraftwerk8″ expanded=”true” elwraptag=”li” trigclass=”highlight_testimonials” rel=”animal-highlander” trigclass=”noarrow” ]’

    but then I am not sure how to have different colors for the event of open/close

    Thanks a lot for your understanding

    https://wordpress.org/plugins/jquery-collapse-o-matic/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Baden

    (@baden03)

    when an expand item is ‘open’ the trigger has the class colomat-close assigned to it.
    why not use this class to define your ‘open’ style?

    In your example:

    [expand title="XXxX" trigclass="collapseomatic arrow_box highlight" class="button-shape" trigclass="noarrow" id="kraftwerk" rel="animal-highlander" expanded="true" elwraptag="li"]

    there is no ‘class’ attribute. there is only trigclass, targclass, and a few others listed in the documentation.

    If you could provide a link to the page, this might be more helpful in understanding exactly what you are trying to accomplish.

    Plugin Author Baden

    (@baden03)

    Issue marked as resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Collapsing titles change color in different pages’ is closed to new replies.