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.
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