WordPress.org

Forums

Collapse-O-Matic
[resolved] How can I style the title on only the expanded content? (3 posts)

  1. cblack
    Member
    Posted 1 year ago #

    CSS:

    h3.collapseomatic:hover {
    background-color: #F00;
    }
    h3.collapseomatic:active
    background-color: #000;
    }

    ":hover" works as expected, ":active" doesn't. I don't see any classes being added that would indicate the content (and title) is expanded. Seems like I'm missing something very basic, I've been looking for awhile now with no hints. Any ideas?

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

  2. cblack
    Member
    Posted 1 year ago #

    Never mind...

    .colomat-hover, .colomat-close {
    background-color: #000;
    }

    did it.

    Thanks for the plugin!

  3. Baden
    Member
    Plugin Author

    Posted 1 year ago #

    You are welcome! Glad you got it sussed out on your own, and thank you for sharing the solution. If you are happy and you know it: vote for pedro!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Collapse-O-Matic
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic