WordPress.org

Support

Support » Themes and Templates » Zenon Lite » [Resolved] Remove mobile site

[Resolved] Remove mobile site

  • Hi again. Initially my mobile view was the same as what I see on desktop, which is what I want. But now when I access my website on mobile, it becomes mobile responsive.

    How do I remove that? 😉

Viewing 1 replies (of 1 total)
  • Theme Author Towfiq I.

    @tislam100

    open up functions.php and remove this line:

    function znn_mobile_css() {
    if ( !is_admin() ) {
    wp_enqueue_style( 'znn_mobile', get_template_directory_uri() . '/mobile.css', false, '1.0', 'only screen and (max-width: 400px)' );
    	}
    }
    add_action('wp_enqueue_scripts', 'znn_mobile_css');
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Remove mobile site’ is closed to new replies.
Skip to toolbar