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: 2 child theme CSS Files?

Discussion in 'Misc WordPress Requests' started by chrisontour84, Jan 19, 2018.

  1. chrisontour84


    Reply To: 2 child theme CSS Files?, by chrisontour84

    Thanks, I have done it but it comes out as the exact same? What should happen?

    function theme_enqueue_styles() {

    $parent_style = 'parent-style';

    wp_enqueue_style( $parent_style, get_template_directory_uri() . '/style.css' );
    wp_enqueue_style( 'child-style',
    get_stylesheet_directory_uri() . '/style.css',
    array( $parent_style )
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );

    remove_action('wp_head', 'print_emoji_detection_script', 7);
    remove_action('wp_print_styles', 'print_emoji_styles');

    Reply To: 2 child theme CSS Files?

Share This Page

Monarch Social Sharing Plugin