Minifrontpage on phones

How to show two slides side-by-side on Phones. Or one and a half. Not only one, with the possibility that they will also run on phone as on desktop, instead of appearing all stacked vertically.
I try this, but doesn't work:

@media screen and (max-width: 576px) {
  div[class*="mfp-"] .owl-stage, 
  div[class*="mfp-"] .slick-track, 
  div[class*="mfp-"] .mfp-items-wrapper,
  div[class*="mfp-"] .mfp-carousel-inner {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    width: 100% !important;
    transform: none !important; 
    gap: 10px !important; 
  }
  div[class*="mfp-"] .owl-item, 
  div[class*="mfp-"] .slick-slide, 
  div[class*="mfp-"] .mfp-item {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    float: none !important;
  }
}
3 weeks 1 day ago - 3 weeks 1 day ago #1 by mario
Last edit: 3 weeks 1 day ago by mario.

Please Log in or Create an account to join the conversation.

  • Posted by TemplatePlazza (5467) Offline
Hi Mario, sorry for the late reply. I think this is not something controlled by CSS, it's probably controlled by JavaScript instead.
Just to confirm, are you using the Minifp Carousel theme? Could you also share your website URL so I can take a look?
3 weeks 22 hours ago #2 by TemplatePlazza

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum