Home › Forums › Support › How to create a Element just for mobile and not for the web This topic has 1 reply, 2 voices, and was last updated 3 years, 3 months ago by Ying. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts December 30, 2022 at 9:50 am #2478214 Sergio I want to add a space for Adsense in the mobile mode (before the header content). But i don’t want that it appears in the computer mode. How can I do it? Thanks in advance. December 30, 2022 at 12:02 pm #2478303 YingStaff Customer Support Hi Sergio, Try this PHP snippet, replace the 100 with your element id which can be found at the URL of the element editor. add_filter( 'generate_element_display', function( $display, $element_id ) { if ( 100 === $element_id && ! wp_is_mobile() ) { $display = false; } return $display ; }, 10, 2 ); Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In