WordPress/wp-content/themes
David A. Kennedy aaf3fe71dd Twenty Seventeen: Adds background-attachment: fixed; to devices that should support it
iOS  disables this feature under the hood, but it also distorts the images – unlike other mobile devices that don't support it. So this adds a  check for both `background-attachment: fixed` support or whether it’s an iOS device - passing it adds the class `background-fixed` which is used to add the proper styles.

It also lowers the media query so the parallax-like style is present on a wider range of screens since this bug can be better targeted and avoided. In this way, screens that aren't the offending devices aren't punished merely based on screen size.

Props joemcgill, laurelfulford, helen.

Fixes #38395.

Built from https://develop.svn.wordpress.org/trunk@39297


git-svn-id: http://core.svn.wordpress.org/trunk@39237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-18 20:11:30 +00:00
..
twentyeleven Bundled Themes: Bump versions and update theme tags. 2016-07-31 16:37:32 +00:00
twentyfifteen Bundled theme: Add preconnect to fonts.gstatic.com in 2012-15 themes. 2016-10-23 01:56:32 +00:00
twentyfourteen Customize: Adjust layout for edit shortcuts only when shown. 2016-11-15 00:15:30 +00:00
twentyseventeen Twenty Seventeen: Adds background-attachment: fixed; to devices that should support it 2016-11-18 20:11:30 +00:00
twentyten Bundled Themes: Bump versions and update theme tags. 2016-07-31 16:37:32 +00:00
twentythirteen Bundled theme: Add preconnect to fonts.gstatic.com in 2012-15 themes. 2016-10-23 01:56:32 +00:00
twentytwelve Bundled theme: Add preconnect to fonts.gstatic.com in 2012-15 themes. 2016-10-23 01:56:32 +00:00
index.php Remove closing PHP tags from the rest of index.php files in wp-content, for consistency with wp-content/index.php. 2014-06-05 15:59:14 +00:00