Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter rstuart85

    (@rstuart85)

    That fix worked Jeremy, thanks!

    For anyone else using the Slappy template you also need to update the coment aurthor CSS as well:

    .comment-author img {
    	width: 70px;
    	height: 70px;
    }

    Cheers

    Thread Starter rstuart85

    (@rstuart85)

    I have managed to figure this out. The offending script was called “devicepx” and it is provided as a core part of jetpack. There is no easy way to disable it. I had to add the following to my header.php file:

    <?php
    function dequeue_devicepx() {
      wp_dequeue_script( 'devicepx' );
    }
    add_action( 'wp_enqueue_scripts', 'dequeue_devicepx', 20 );
    ?>

    Not sure if header.php is the right place but it is included on every page so it seemed as good as any!

Viewing 2 replies - 1 through 2 (of 2 total)