Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1279001
    xthemer
    Participant

    Hey there x theme support,

    I’m using a border on the accordion feature. On toggle, i. e. when an accordion group opens, the border does not appear right away. There seems to be some kind of built-in transition effect going on, which is annoying in my case.

    I’d like the border to show immediately when the accordion group opens. How can I achieve this? Thanks.

    My site is not online yet. I will post the URL and credentials in a couple secs.

    #1279002
    xthemer
    Participant
    This reply has been marked as private.
    #1279206
    Nabeel A
    Moderator

    Hi there,

    Thanks for writing in! Instead of using .collapse.in in your code:

    .x-accordion-group:nth-child(3) .x-accordion-toggle.collapsed, .x-accordion-group:nth-child(3) .x-accordion-toggle, .x-accordion-group:nth-child(3) .collapse.in

    Use .x-accordion-body

    For example:

    .x-accordion-group:nth-child(3) .x-accordion-toggle.collapsed, .x-accordion-group:nth-child(3) .x-accordion-toggle, .x-accordion-group:nth-child(3) .x-accordion-body {
        border-left: 5px solid #4c2c92;
    }

    Replace it for all the colors. Let us know how this goes!

    #1279791
    xthemer
    Participant

    Thanks Nabeel,

    The .x-accordion-body class did the trick.

    #1279833
    Thai
    Moderator

    If you need anything else please let us know.

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