Support » Theme: Zenon Lite » Remove mobile site

  • Resolved jr2009


    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.


    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 ‘Remove mobile site’ is closed to new replies.