Adding ie style sheet into child theme twenty thirteen
-
Hi trying to work out how to call up a custom style sheet for ie in my child theme in twenty thirteen. Do I need to include the “add_action” code?
<?php /* Loads the Internet Explorer specific stylesheet. ======================================= */ wp_enqueue_style( 'twentythirteen-ie', get_template_directory_uri() . '/ie.css', array( 'twentythirteen-style' ), '2013-07-18' ); wp_style_add_data( 'twentythirteen-ie', 'conditional', 'lt IE 9' ); add_action( 'wp_enqueue_scripts', 'twentythirteen_scripts_styles' ); /* End of: Loads the Internet Explorer specific stylesheet. ======================================= */ ?>
It does not override the css in the parent so I think I need to remove it by using this function but I need help finishing it off:
function mytheme_dequeue_styles()
Any help much appreciated ??
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Adding ie style sheet into child theme twenty thirteen’ is closed to new replies.