Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author easyregistrationforms

    (@easyregistrationforms)

    Hello,
    Thank you for contacting us.
    To remove theme CSS you may override it using style handlers ie. ‘erf-front-style‘ and ‘erf-front-style-responsive‘ in your theme functions.php file and use your own CSS files.
    Usage :

    wp_enqueue_style( 'erf-front-style', get_stylesheet_uri() . '/your-css-file');
    wp_enqueue_style( 'erf-front-style-responsive', get_stylesheet_uri() . '/your-css-file');
    

    Feel free to drop us an email on erformswp@gmail.com or you can also contact us through our website’s support page http://www.easyregistrationforms.com/support/ in case you have any other questions or concerns.

    Thread Starter Aleksandr

    (@aleksandrx)

    My theme already has styles, why should I connect them the second time?
    How to just disable ‘erf-front-style’ file style.css your plugin? Thank you)

    Plugin Author easyregistrationforms

    (@easyregistrationforms)

    Hello @aleksandr,

    What we meant is that connect a blank css file using our enqueue handler. This will disable all our css. Your theme’s styling has nothing to do with this.

    Thread Starter Aleksandr

    (@aleksandrx)

    When i add
    wp_enqueue_style( 'erf-front-style', get_stylesheet_uri() . '/your-css-file');
    WordPress connects a second time file with styles of my theme.
    In file
    easy-registration-forms/includes/class-frontend.php
    you connect the style twice.
    109 and 158 line
    wp_enqueue_style('erf-front-style', ERFORMS_PLUGIN_URL . 'assets/css/style.css');
    Why does not it work

    add_action('wp_print_styles', 'mytheme_dequeue_css_from_plugins', 100);
    function mytheme_dequeue_css_from_plugins() {
    wp_dequeue_style( "erf-front-style" );
    }

    And

    function remove_styles () {
    wp_deregister_style ('erf-front-style');
    }
    add_action ('wp_print_styles','remove_styles',100);

    The issue is not resolved)

    Plugin Author easyregistrationforms

    (@easyregistrationforms)

    Hello,

    We need more details about the issue you are facing.
    Please raise a support ticket on our email erformswp@gmail.com or you can leave a message on our website’s support page http://www.easyregistrationforms.com/support/

    Looking forward for your response.

    Thread Starter Aleksandr

    (@aleksandrx)

    Oh man, just add to your plugin the ability to turn off the styles of your plugin as scripts))
    Separately
    erf-front-style
    Separately
    erf-front-style-responsive

    Thanks for the nice plugin)
    Began to do the translation, but it is veeeery large)

    Plugin Author easyregistrationforms

    (@easyregistrationforms)

    Hello @aleksandrx,

    We found the issue about why the dequeue is not working. We will be including the fix in next week release. I will update you here.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘CSS’ is closed to new replies.