Hi there, I’m about to get started developing a client site and trying to decide what theme to use.
I really like Metro, but I don’t like the way that the background flashes every time you load a new page. Any idea if that is something that can be turned off pretty easily? Delete something somewhere?
To turn off background flashing,
In child theme’s functions.php, comment out
add_theme_support( ‘custom-background’, array( ‘wp-head-callback’ => ‘__return_false’ ) );
add_action( ‘wp_enqueue_scripts’, ‘metro_enqueue_scripts’ );
Then use this sample CSS:
background: url(‘images/body-bkgrd.jpg’) no-repeat center center fixed;
Love it. Thanks!
I used the code, direct copy-paste, and still get the flashing
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?