1. HOT Divi Ultimate Header Plugin - Design Divi custom header globally in Divi Builder: https://header.diviultimate.com/
    Dismiss Notice

Two Column Accordion

Discussion in 'Get Help On Divi Wordpress' started by Tavis Frazier, Jul 12, 2019 at 6:39 AM.

  1. Tavis Frazier

    Tavis Frazier New Member

    Hello, I am trying to figure out how to get an accordion module into two columns and only have one accordion open at a time.

    Thanks
     
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Don't think you can achieve that.

    Here's a CSS solution with some flaws. Try to put it in Divi > Theme Options > Custom CSS to see it in action:
    Code:
    @media screen and (min-width: 981px) {
        .et_pb_accordion_item {
            width: 50%!important;
            float: left!important;
        }
        .et_pb_accordion_item:nth-child(2n+1) {
            clear: both;
        }
    }
    
     
  3. Tavis Frazier

    Tavis Frazier New Member

    Thank you so much for the help