Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Yet another: Mobile friendly for higher resolution #1018341

    By now I have solved the issue by:

    1) Copying layout.css into child-theme.
    2) Changed the places with 989 to 1024.
    3) And added to functions.php:
    add_action( ‘wp_enqueue_scripts’, ‘wp_change_layoutcss’, 20 );
    function wp_change_layoutcss() {
    wp_dequeue_style( ‘avia-base’ );
    wp_enqueue_style( ‘avia-base-child’, get_stylesheet_directory_uri().’/css/layout.css’ );
    }

    Let me know, if I could do it in any better way.

    • This reply was modified 6 years, 9 months ago by racekatten.
Viewing 1 post (of 1 total)