Home › Forums › Support › Mobile header on posts only This topic has 3 replies, 2 voices, and was last updated 3 years, 3 months ago by David. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts January 14, 2021 at 6:02 am #1618340 Deniz Akay Hi, Is it possible to activate “mobile header” on woocommerce product pages only? I want to use my products as landing pages and don’t want to display my extended header on them specifically. Thanks! January 14, 2021 at 6:46 am #1618403 DavidStaff Customer Support Hi there, try adding this PHP Snippet, it will set the Mobile menu breakpoint to 10,000px if the page is a single product: add_filter( 'generate_mobile_menu_media_query', function( $width ) { if ( is_product() ) { $width = '(min-width: 10000px)'; } return $width; } ); January 14, 2021 at 7:20 am #1618633 Deniz Akay Thanks but I couldn’t make it work. Instead I hide header like this: @media screen and (max-width:489px){ .woocommerce-page .site-header { display:none; } } Is it ok? January 14, 2021 at 7:24 am #1618646 DavidStaff Customer Support Aah ok, sorry i misunderstood. Yes thats a perfectly valid method to remove it 🙂 Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In