Home Forums Basel support forum Shop Filters Columns

Shop Filters Columns

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #6309

    thecapeco
    Participant

    Hello!

    Is there a way to have more than 4 columns for filters in the Shop Filters dropdown section?

    Thanks!

    #6314

    Artem Temos
    Keymaster

    Hello,

    Try to add this code snippet to make 5 columns

    .filters-inner-area>div:nth-of-type(4n+1) {
        clear: none;
    }
    .filters-inner-area>div:nth-of-type(5n+1) {
        clear: both;
    }
    .filters-inner-area>div {
        width: 20%!important;
    }
    

    Regards

    #6334

    thecapeco
    Participant

    Is there a specific place I need to add this code? Would it be under “Theme Settings”?

    #6337

    Artem Temos
    Keymaster

    Sorry for not providing the full instruction. You need to add it to the Custom CSS area in Theme Settings.

    Regards

    #7082

    Estefania
    Participant

    Hi!!!
    Please, do you mind to show us the code for doing 6 or more columns in your filter?
    Thanks!
    Estefanía.

    #7096

    Artem Temos
    Keymaster

    Hello,

    Try to use this code for 6 columns also

    .filters-inner-area>div:nth-of-type(4n+1) {
        clear: none;
    }
    .filters-inner-area>div:nth-of-type(6n+1) {
        clear: both;
    }
    .filters-inner-area>div {
        width: 16.6%!important;
    }

    Regards

    #7116

    Estefania
    Participant

    Great!
    It works perfectly!!!
    Thanks a lot!
    Estefanía.

    #7126

    Artem Temos
    Keymaster

    You are welcome 🙂

Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)