Okay
  Public Ticket #2750309
Subcategory filter display
Closed

Comments

  •  7
    cance started the conversation

    Hi,

    When i enable subcategory filtering it displays the subcategory vertically, and make a visual bad issue. as you can see. How can i fixe it.

    Thanks, BR Laurent.

  •  1,558
    Laborator replied

    Hi Laurent,

    Add this CSS to Custom CSS:

    .portfolio-title-holder>.pt-column,
    .product-filter .portfolio-subcategory.is-active,
    .product-filter {
        width: 100%;
    }
    

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •  7
    cance replied

    Art, thanks it's ok on desktop but not in responsive display. Look on a smartphone. I have 5 sudcategories to put...

    Thanks for our answer how to fix that.

    BR, Laurent.

  •  1,558
    Laborator replied

    Hi Laurent,

    Do you have an example of how you want to show them on mobile, by default they will show like in desktop in one line and when there are more items they will show below them.

    Best regards,
    Laborator Team


      Documentation         Join Kalium Users Group

  •  7
    cance replied

    Hi, See the file attached (Iphone ex.). The categories (1 or 2), depends on the screen size, appear hover the first thumbnail.

    I simply would like to avoid this.

    BR, Laurent. 

  • [deleted] replied

    Hi Laurent,

    Please add the code below to your Custom CSS area:

    .product-filter .portfolio-subcategory.is-active {
        display: contents;
    }
    * If you want that CSS code to apply only for devices that are 768px and smaller then add this code instead:

    @media screen and (max-width: 768px) {
        .product-filter .portfolio-subcategory.is-active {
            display: contents;
        }
    }

    Have a nice day!

  •  7
    cance replied

    Ylli, thanks very much is done and it works well !

    BR,

    Laurent.