// GRID to List For Mobile Start // /* if( isset($_GET['s'])){ */ function product_grid_list_mod() { ?> <style> Your styles here </style> <?php /* } */ add_action('wp_head', 'product_grid_list_mod', 100); } // GRID to List For Mobile End //
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter