I’ve actually just found a work-around using “!important” in my CSS.
But, I’m aware this is a hack – I already have concerns about the refresh speed of this site; when I press F5 it can take a very long time to update – any thoughts? In comparison I have another WP test site starting from blankslate which loads instantly.
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘evolve_mlu_css’ not found or invalid function name in /home/efyselfc/public_html/wp-includes/plugin.php on line 405
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘evolve_mlu_js’ not found or invalid function name in /home/efyselfc/public_html/wp-includes/plugin.php on line 405
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 388172 bytes) in /home/efyselfc/public_html/wp-includes/class-feed.php on line 4
please help me this error for installing new themes Evo love themes please help me
pmpksamy: I think you have posted your problem under my problem?!
@pmpksamy
please start your own topic.
“double posting is treated in the same way as bumping”
So, now I’m bumping? I can’t win? Give up?
@sonic
This is the same as the twenty eleven dark theme option, other styles are loaded in the header after the stylesheet so they cannot be over-written, this was my solution for a twenty eleven child theme, I have changed the code below for a main theme, so it is untested.
This will load the custom-style.css after all stylesheets and header styles have been loaded.
Create a second style.css file like custom-style.css, then in your functions.php add:
add_action( 'after_setup_theme', 'post_theme_setup' );
if ( !function_exists( 'post_theme_setup' ) ):
function post_theme_setup() {
/* Add our custom styles after all stylesheets have loaded */
if ( !function_exists( 'custom_enqueue_style' ) ):
function custom_enqueue_style() {
wp_enqueue_style( 'custom_style', get_template_directory_uri() . '/custom-style.css', array(), null );
do_action( 'custom_enqueue_style', 'custom_style' );
}
add_action( 'wp_enqueue_scripts', 'custom_enqueue_style', 11 );
endif;
}
endif;
HTH
David
Thanks David : ) About 5 minutes ago I realised I could just comment out the line in the functions.php.
/* Style settings
add_action( 'wp_head', 'yourtheme_style_settings' ); */
The style insert can be edited fully from functions.php but I just wished to remove it all together.
Cheers for your idea : )