Home Forums WoodMart support forum color swatch not working woodmart-child after update

color swatch not working woodmart-child after update

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #476895

    iks
    Participant

    Hello,
    Need help to isolate problem.
    The style.css is loading properly from woodmart-child theme

    (the site was working and color swatch and all before theme update, i think it was 6.xx something)
    And now most of the theme works if not all beside color swatch on woocomerce product.

    When I disable content from functions.php or better say when I disable not to load style.css color swatch works.

    when i remove this:

    /**
    * Enqueue script and styles for child theme
    */
    function woodmart_child_enqueue_styles() {
    wp_enqueue_style( ‘child-style’, get_stylesheet_directory_uri() . ‘/css/style.css’, array( ‘woodmart-style’ ), woodmart_get_theme_info( ‘Version’ ) );
    }
    add_action( ‘wp_enqueue_scripts’, ‘woodmart_child_enqueue_styles’, 10010 );

    ///
    works – but when inspecting elements I couldnt find what I am missing.
    Thank you.

    #477032

    iks
    Participant

    sorted its working now.
    It was issue with style.css (custom one)

    #477135

    Hello,

    We are glad you have solved the issue.

    If you have any questions please feel free to contact us.

    Best Regards

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