• Resolved truemarket

    (@truemarket)


    Hi. PPWP adds a ton of embedded styles that spit out a bunch of errors when scanning my site with W3C validator. I styled the password form myself and do not need the customizer. Is there a way to disable all the embedded styles?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @truemarket,

    Thanks for reaching out to us last night.

    Yes, it looks possible to help you achieve that.

    To assist you better, could you please provide us with the following information?

    • Some screenshots showing errors when scanning
    • Some screenshots of embedded styles you’re referring to
    • A sample protected page URL

    You might also want to send these details to our support email – hello(at)preventdirectaccess.com so that our team can support you faster.

    Looking forward to hearing from you soon.

    Thread Starter truemarket

    (@truemarket)

    Thanks for your reply. I just sent an email. I will post back here if we find a solution.

    Thread Starter truemarket

    (@truemarket)

    Here is how to disable the embedded styles.

    Step 1: Navigate to Plugins > Plugin Editor > Password Protect WordPress Lite in your admin dashboard.

    Here, choose includes > services > class-ppw-customizer.php file.

    Step 2: Comment out add_action( 'wp_head', array( $this, 'dynamic_styles' ) ); (line 19)

    Step 3: Navigate to password-protect-page > includes > services > class-ppw-customizer-pcp.php

    Step 4: Comment out add_action( 'wp_head', array( $this, 'dynamic_styles' ) ); (line 38)

    Note that these changes will get overwritten when the plugin gets updated.

    • This reply was modified 2 years, 11 months ago by truemarket.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to disable customizer styles’ is closed to new replies.