[Resolved] Pages not resizing for Mobile

  • Author
  • #7632


    When I check my website on a mobile device or select mobile when in custom mode my pages do not resize for mobile. Everything else resizes except for the page. Site I’m working on is http://www.agent1realestate.com


    Andrew Misplon

    Hi Bruce

    Thanks for posting.

    The issue looks to be the print CSS file added by the loan calculator plugin. It targets selectors without prefixing (making rules specific to its own code). It also doesn’t make itself specific to print which it should be doing. I’ll come back to you a little later today with a solution.


    Andrew Misplon

    Thanks for the wait 🙂

    Go to Plugins > Add New, search for and install Code Snippets.
    Go toSnippets > Add New and name the snippet Ultra Loan Calculator.
    In the snippet body, insert the following function to remove the plugin’s flawed print stylesheet.

    function ultra_loan_calculator() {
    	wp_dequeue_style( 'print' );
    add_action( 'wp_print_styles', 'ultra_loan_calculator' );

    Scroll down and enable the option to only run this snippet on the site front end.
    Finally, click Save Changes and Activate. A common error here is users will save the snippet but not activate it. There are two buttons, it is possible to just save the snippet but we want to save and activate it.

    Let me know how that goes. Thanks 🙂



    Excellent, this has solved the issue. Thank you for the quick response!


    Andrew Misplon

    Super 🙂 Glad to hear that did the trick.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

Scroll to top