• 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

Backstretch & IE11

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 › General Discussion › Backstretch & IE11

This topic is: not resolved

Tagged: backsrtetch ie11 jquery

  • This topic has 4 replies, 3 voices, and was last updated 11 years, 5 months ago by uwitness.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • November 16, 2013 at 2:53 pm #73452
    anyname
    Member

    There is currently a major issue with IE11 and the backstretch jQuery plugin which is used on a number of Genesis child themes including the recent agency and metro pro. This needs to be addressed by the framework devs.

    When using mousewheel up/down or on a keyboard the up/down arrows the background image jumps before resetting to the original position. Not a good look.

    The issue is logged at: https://github.com/srobbin/jquery-backstretch/issues/300 and appears to be an IE bug.

    I've tried numerous attempts to work around but to no avail. The backstretch image works for block level divs just not with the body tag. The closest I've got is to wrap the body tag but this results in any background image showing as full size and not 'squeezing' into the div.

    //backstretch IE11 hack
    add_action( 'genesis_before', 'metro_site_wrap_before' );
    function metro_site_wrap_before() {
    	echo '<div class="site-wrap">';
    }
    add_action( 'genesis_after', 'metro_site_wrap_after', 15 );
    function metro_site_wrap_after() {
    	echo '</div><!-- end site-wrap -->';
    }

    Current css:

    .site-wrap {
    	display: block;
    	margin: 0;
    	padding: 0;
    	max-width: 100%;
    	height: auto;
    }

    Maybe the devs can get the css for this to work?

    November 16, 2013 at 3:59 pm #73462
    anyname
    Member

    Forgot to mention. in the backstretch-set.js file the tag is changed to '.site-wrap' from 'body'.

    January 5, 2014 at 4:39 pm #83420
    Coach Young
    Participant

    Were you able to get this resolved?

    I am still having this same issue.

    May 5, 2014 at 6:53 pm #103777
    uwitness
    Member

    I'm trying to use the 411 Pro Theme and find that the Backstretch background is flickering in IE11 on Windows 8.1 (with the default 'smooth scrolling' left on).

    Searched the forums and found this post, meaning that Microsoft still hasn't fixed the bug. However, I've also used Agency Pro and Parallax Pro recently and they don't have this flickering issue with Backstretch in IE11 - does anyone know what fix was applied to those two themes that I can use in 411 Pro. I've tried checking through as much of the code as I could, but can't find any obvious fix applied.

    Thanks!

    July 2, 2014 at 9:21 am #112642
    uwitness
    Member

    Still looking for a solution to this, if anyone has any suggestions. Thanks so much. 🙂

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ 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