Home Forums Themes Support Claue How to change subcategory display on category pages

Topic Resolution: Resolved

This topic contains 2 replies, has 2 voices, and was last updated by  orlane_azogui 2 months, 1 week ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #22488

    Hello,

    I have different types of products on my website : Jewelry, Decoration, etc. Under Jewelry, I have several subcategories : earrings, necklace, etc. Until today, I had 4 subcategories so the display was fine (see first screenshot) but now I want to add another one and it goes to the second line (see second screenshot). I would like to have my 5 subcategories to appear on one line only.

    How can I do that ?

    Thanks a lot,

    Laurie

    Attachments:
    You must be logged in to view attached files.
    #22531

    Hi,

    please add below code

    @media only screen and (min-width: 62em) {
    .sub-categories .product-category {
    -ms-flex-preferred-size: 20%;
    -webkit-flex-basis: 20%;
    flex-basis: 20%;
    max-width: 20%;
    }}

    Best regards

    Harry
    Premium Wordpress themes and plugins, Best WooCommerce theme https://themeforest.net/user/janstudio/portfolio?ref=janstudio

    #22534

    Perfect !!

    Thanks a lot,

    Have a good day,

    Laurie

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

You must be logged in to reply to this topic.