• Resolved mister3765

    (@mister3765)


    Hi,

    I like the simplicity of using your plugin.
    Clean Login gives me an easy shortcode to include a login for my users.

    The one thing I really want for this plugin is the option to disable the stylesheet. You see I use my own stylesheet for all my designs on my sites. I can of course override the Clean Login css styles, but the clean-login/content/style.css still gets loaded.

    Please add an option in your Plugins settings page to disable the loading of the Clean Login stylesheet to allow us to use our own stylesheets.

    For now, I have commented out the appropriate lines in the plugin. But of course this means that every time the plugin gets an update I have to remember to comment that line out again.

    Hope this feature makes it into your plugin 😉

    Greetings from Austria
    Jan

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Alberto Hornero

    (@hornero)

    Hi Jan,

    You can simply dequeue the style from e.g. your functions.php theme file: https://codex.ww.wp.xz.cn/Function_Reference/wp_dequeue_style If you have any problem, please let us know. Best regards,

    Alberto.

    Thread Starter mister3765

    (@mister3765)

    Hi Alberto,

    thanks for the tip. Worked 🙂
    Here is what I integrated in my themes function:

    //Disable CSS-Styles loaded by Clean-Login
    function dequeue_clean_login_css() {
    wp_dequeue_style(‘clean-login-css’);
    wp_deregister_style(‘clean-login-css’);
    }
    add_action(‘wp_enqueue_scripts’,’dequeue_clean_login_css’);

    Greetings
    Jan

    Plugin Author Alberto Hornero

    (@hornero)

    Great! Thanks for sharing your code with the community 🙂

    Rate the plugin if you don’t mind. Thanks,

    Alberto.

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

The topic ‘Feature Request: Disable clean_login_enqueue_style’ is closed to new replies.