Home Forums WoodMart support forum RTL in child theme

RTL in child theme

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #57725

    my.codecanyon
    Participant

    Hello
    Rtl css files not working when i active child theme.
    How can i load main-rtl.min.css in child theme?

    #57728

    Artem Temos
    Keymaster

    Hi,

    Try to edit your child theme functions.php and replace the function woodmart_child_enqueue_styles with this one

    function woodmart_child_enqueue_styles() {
        wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array( 'woodmart-style' ), woodmart_get_theme_info( 'Version' ) );
    }

    Regards

Tagged: 

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