• Resolved Loftlamp

    (@loftlamp)


    Dear,

    is it possible to collapse Filters Widget on desktop mode? Same as on mobile devices?

    For mobile devices there is a checkbox in the settings but I can’t find this option for desktop.

    Looking forward to hear from you.

    kind regards

    Martijn

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support fesupportteam

    (@fesupportteam)

    Hi @loftlamp

    Thank you for your interest in the Filter Everything plugin.

    You can place this code in functions.php and add a needed breakpoint in px in order to collapse the filter widget like on mobile.

    add_filter( 'wpc_mobile_width', 'my_custom_wpc_mobile_width' );
    function my_custom_wpc_mobile_width( $width )
    {
    $width = 1180; // new desired breakpoint in px
    
    return $width;
    }

    Best Regards – Victor

    How do you do it the other way around? I need it to remain the same in mobile as in desktop.For a certain filter id.

    • This reply was modified 2 years, 9 months ago by ptahaua.
    Plugin Support fesupportteam

    (@fesupportteam)

    Hi @loftlamp

    Well, in that case, you can write a custom code that depending on which page you are on, it will provide the needed changes to the breakpoint, but you need to have some skills in PHP and WP to do so. If you don’t have enough skills we can recommend hiring a developer to do it for you using such platform like Upwork.

    Best Regards – Victor

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

The topic ‘Filter widget desktop’ is closed to new replies.