Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'wp_enqueue_scripts', 'prefix_disable_simple_social_icons_styles' );
- /**
- * Remove Simple Social Icons styles.
- *
- * Simple Social Icons loads styles with a bunch of !important declarataions.
- * This will disable the style output and allow you to style your icons in your
- * theme more easily.
- *
- * @author FAT Media, LLC
- * @link http://youneedfat.com
- */
- function prefix_disable_simple_social_icons_styles() {
- if ( class_exists( 'Simple_Social_Icons_Widget' ) ) {
- /** Dequeue icon styles */
- wp_dequeue_style( 'simple-social-icons-font');
- /** Remove the CSS in <head> */
- // remove_action( 'wp_head', array( Simple_Social_Icons_Widget::get_instance(), 'css' ) );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement