Home Forums WoodMart support forum Responsive Product Category Layout: Carousel on Mobile, Grid on Desk

Responsive Product Category Layout: Carousel on Mobile, Grid on Desk

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

    visanchan
    Participant

    Hello,

    I’m currently building my homepage using Elementor and I’m trying to display a list of product categories. I’m using the Nested Carousel widget with images and links.

    My goal is:

    On mobile devices, I want the categories to be shown as a carousel, with 1.3 slides per view, so users know they can swipe.

    On desktop, I would like the categories to be displayed in a grid layout, because I have over a dozen categories. If I display them in a carousel on desktop, the images become too small and hard to read.

    I also tried using the Product Categories widget (the one with the X icon). It allows switching between grid and carousel layout, but when I change it to carousel on mobile, it also changes to carousel on desktop, and vice versa — it seems it cannot set different layouts per device.

    Is there any way to achieve my goal?
    Can I use custom CSS to force grid layout on desktop and carousel on mobile? Or is there a better method you’d recommend to display this section responsively?

    I’m aware that using separate widgets for different devices (e.g., one for desktop and another for mobile, hidden via responsive settings) is a possible workaround. However, I would prefer not to use this method, as hidden widgets are still loaded in the background, which could negatively affect site performance and page speed.

    Ideally, I would like to use a single widget that adapts its layout based on device type using custom CSS or built-in settings.

    Thank you very much for your help!Thank you very much in advance for your assistance.
    Wishing you a wonderful day and continued success with your great theme!

    #662945

    Hung Pham
    Keymaster

    Hi visanchan,

    Thanks for reaching to us and appreciate your patience.

    Provide me with the mockup of the styles that you try to achieve and we’ll send proper instructions if it’s possible.

    Kind Regards,
    Hung PD

    #663169

    visanchan
    Participant

    I’ve created two sections using the Categories widget. What I’d like to achieve is:

    On desktop, display Categories 1 layout

    On mobile and tablet, display Categories 2 layout

    However, I noticed that once I change the layout of the Categories widget, it seems to apply globally across all devices, and I’m unable to set different layouts based on screen size.

    Is there a way to make the Categories widget responsive in this way?

    If not, I’m thinking of simply using two separate widgets, each with different layouts and using responsive visibility settings to show/hide them based on the device.

    Please let me know if this is the best approach or if there’s a cleaner solution available.

    Thanks a lot for your help!

    Best regards

    #663278

    Hung Pham
    Keymaster

    Hi visanchan,

    Please see recorded video for better understanding https://www.youtube.com/watch?v=EVr7FKoEXMU

    Regards,
    Hung PD

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