[wp-trac] [WordPress Trac] #48195: Twenty Seventeen: Scaling Issue on Front Page Parallax Image Using Safari on iPadOS

WordPress Trac noreply at wordpress.org
Wed Sep 1 18:38:13 UTC 2021


#48195: Twenty Seventeen: Scaling Issue on Front Page Parallax Image Using Safari
on iPadOS
-------------------------------------+------------------------------
 Reporter:  JarretC                  |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Bundled Theme            |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  css
-------------------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:   => has-patch needs-testing
 * focuses:   => css


Comment:

 I do not have an iPad for proper testing, but I made a patch.

 The `!important` suggested on the support topic should not be necessary
 here, and I think changing the `background-size` would not work well with
 every image size.

 This patch should return the `background-attachment` to `scroll` when the
 browser is iOS Safari and the screen is at least 48em (768px) wide.
 Narrower screens should have the default `scroll` regardless of the
 browser.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48195#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list