• Resolved WildFire

    (@wildfire9859)


    hi
    i wanted to know what is the exact function of the “wc-blocks-style-rtl.css” and “woocommerce-rtl.css”?
    now i understand these file are related to adding right to left support to site but my question is do i need them if my theme is already in rtl ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter WildFire

    (@wildfire9859)

    and i wanted to know how can i stop them from being loaded?
    thanks in advance

    Hi,
    if those files where added by calling them using wp_enqueue_style() function, then you can try this one:

    if ( function_exists( 'is_woocommerce' ) ) {
               wp_dequeue_style( 'wc-blocks-style-rtl' );
               wp_dequeue_style( 'woocommerce-rtl' );
    }

    Code goes to the function.php of your theme.

    Thread Starter WildFire

    (@wildfire9859)

    doesn’t seem to work

    Thread Starter WildFire

    (@wildfire9859)

    nevermind i fixed it

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘question about css files of the plugin’ is closed to new replies.