• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Metro stop flashing background?

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Metro stop flashing background?

This topic is: not resolved
  • This topic has 3 replies, 3 voices, and was last updated 12 years, 4 months ago by vivianleemit.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • February 20, 2013 at 10:49 pm #21873
    TravisPri
    Member

    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?

    Thanks!

     

    February 20, 2013 at 11:19 pm #21881
    Sridhar Katakam
    Participant

    To turn off background flashing,

    In child theme's functions.php, comment out

    add_theme_support( 'custom-background', array( 'wp-head-callback' => '__return_false' ) );
    

    and

    add_action( 'wp_enqueue_scripts', 'metro_enqueue_scripts' );
    

    Then use this sample CSS:

    body {
    	background: url('images/body-bkgrd.jpg') no-repeat center center fixed;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
    

    Genesis Tutorials | Follow me on Twitter

    February 20, 2013 at 11:20 pm #21882
    TravisPri
    Member

    Love it. Thanks!

    March 1, 2013 at 6:48 pm #23621
    vivianleemit
    Member

    I used the code, direct copy-paste, and still get the flashing 🙁

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble