Not a bug Carousel body show 4 won't be displayed

Yenxji

Well-known member
Affected version
2.3
I tried changing from show2 to show4 at widget_featured_content


Before:
Code:
<ul class="carousel-body carousel-body--show2" data-xf-init="carousel">


After:
Code:
<ul class="carousel-body carousel-body--show4" data-xf-init="carousel">

It shows just one grid (carousel-body--show4)
1721584453941.webp

Two grid (carousel-body--show2) ( This is unchanged and default by XenForo template )
1721584697588.webp

This is XenForo 2.3 and Resource Manager 2.3 on localhost
 
Last edited:
That's never worked. You can set --xf-slidesPerPage instead though.

Less:
[data-widget-key="some_widget"] .carousel-body
{
    @media (min-width: 700px)
    {
        --xf-slidesPerPage: 4;
    }
}
Thanks for the info, unfortunately, it doesn't show grid more than 4x page, I added this to extra.less

Also, I have reset of template widget_featured_content from carousel-body--show4 to carousel-body--show2, still no lucky
 
Back
Top Bottom