Home › Forums › Pro Support › change rows on tablet › Reply To: change rows on tablet
September 28, 2020 at 9:51 am
#20224
Participant
Hi there,
you have this code in your Simple CSS:
/*use static pages as catergorie archive*/
add_filter('request', function(array $query_vars) {
if (is_admin()) {
return $query_vars;
}
if (isset($query_vars['category_name'])) {
$pagename=$query_vars['category_name']; $query_vars=array('pagename'=> "$pagename");
}
return $query_vars;
}
);
That code is PHP and should not be in there ( it goes in your child theme functions.php or the Code Snippets pluigin ).
Remove that code and that CSS should work.