Issue with css
-
Hi! First of all, this is a great plugin, it was just what I needed.
However, i was having issues trying to dequeue styles that come with the plugin.
After couple of hours investigating i found out that in the soccer-info.php
you are using this line
add_action('wp_print_styles', array(&$this, 'print_front_styles'));after reading this article:
https://make.ww.wp.xz.cn/core/2011/12/12/use-wp_enqueue_scripts-not-wp_print_styles-to-enqueue-scripts-and-styles-for-the-frontend/I tried changing wp_print_styles with wp_enqueue_scripts and then I was able to use dequeue and deregister styles in my functions.php
It would be great if you could make changes since the wp_print_styles should not be used anymore.
Hope this was helpful, Have a great day.
The topic ‘Issue with css’ is closed to new replies.