Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Child theme

Discussion in 'Misc WordPress Requests' started by fernanf, Feb 24, 2018.

  1. fernanf


    Reply To: Child theme, by fernanf

    Thanks for your answer.
    Let me know if I understood:

    Does it mean that I have to dequeue all stylesheets in parent theme according to the following code?. For example:

    wp_enqueue_style( ‘component-style’, get_stylesheet_directory_uri() . ‘/css/component.css’ );

    and add the following code:

    wp_dequeue_style( ‘component-style’, get_stylesheet_directory_uri() . ‘/css/component.css’ );

    and include the code:

    wp_enqueue_style( ‘component-style’, get_template_directory_uri() . ‘/css/component.css’ );


    Reply To: Child theme

Share This Page

Monarch Social Sharing Plugin