Home › Forums › WoodMart support forum › portfolio category filters on mobile

portfolio category filters on mobile

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #730035

    atadv.com
    Participant

    Hi, I have a problem with portfolio category filters on mobile.
    I have a lot of filters and, on tablet and smartphone I can just seethe first 2 filters: in order to see all the other filters I must slide them but it’s almost impossible on mobile.
    So I need to display filters in a sort of grid, like in the other website in the jpg I attach below.
    Please, can you help me by providing a custom css? Thanks a lot it’s very important for my customer

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

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Sorry to hear about the inconvenience. Kindly, please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and help you out accordingly.

    Best Regards

    #730198

    atadv.com
    Participant

    Hello, below you can find your temporary admin access (wesite in staging and coming soon).
    Thanks a lot for any help you can provide

    #730237

    Aizaz Imtiaz Awan
    Keymaster
    Xtemos team

    Hello,

    Try to add the following custom css code in Theme Settings > Custom CSS > Custom CSS for mobile:

    /* Allow tabs to wrap into multiple rows */
        ul.wd-nav-portfolio.wd-nav {
            flex-wrap: wrap !important;
            overflow-x: visible !important;
            white-space: normal !important;
            justify-content: center !important;
            gap: 8px !important; /* Adds spacing between buttons */
    }
    
    /* Style individual tabs with a border/pill style */
        ul.wd-nav-portfolio.wd-nav li a {
            border: 1px solid #dcdcdc !important;
            border-radius: 20px !important;
            padding: 6px 14px !important;
            display: inline-block !important;
    }
    
    /* Active state (when a filter is selected) */
        ul.wd-nav-portfolio.wd-nav li.wd-active a {
            background-color: #d7c9c9 !important; /* Change to your brand color if preferred */
            color: #ffffff !important;
            border-color: #000000 !important;
    }

    Best Regards

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