Zenon Lite
[resolved] Remove mobile site (2 posts)

  1. jr2009
    Posted 2 years ago #

    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? ;)

  2. Towfiq I.
    Theme Author

    Posted 2 years ago #

    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');

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic