Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1239014
    Omid
    Participant

    Hi,

    How can I assign a different color to the border of an expanded accordion ? I need 2 different border colors for 2 different situations of an accordion.

    Thanks in advance.
    Omid

    #1239021
    Christopher
    Moderator

    Hi there,

    Thanks for writing in!

    I’m sorry but what you’re trying t achieve is possible only with custom development. Accordion heading and content wrapped in one <div> which has the border, some classes are being added/removed to/from heading and content are when an accordion element is expanded but the main <div> class is the same, so we can’t target it.

    Thanks for your understanding

  • <script> jQuery(function($){ $("#no-reply-1239014 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>