#48195 closed defect (bug) (fixed)
Twenty Seventeen: Scaling Issue on Front Page Parallax Image Using Safari on iPadOS
Reported by: | JarretC | Owned by: | audrasjb |
---|---|---|---|
Milestone: | 6.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Bundled Theme | Keywords: | has-patch commit has-screenshots |
Focuses: | css | Cc: |
Description
Reporting bug from this forum thread here:
https://wordpress.org/support/topic/twenty-seventeen-ipados-front-page-featured-images/
I unfortunately don't have a new enough iPad to get iPadOS for my own testing but looks like 2 users have been able to confirm the issue. It appears that the scaling on the featured images in the different panels on the Front Page is incorrect.
One of the users seems to have resolved the issue by commenting out the following CSS
.background-fixed .panel-image { background-attachment: fixed; }
Attachments (3)
Change History (13)
#1
@
5 years ago
- Summary changed from Scaling Issue on Front Page Parallax Image Using Safari on iPadOS for TwentySeventeen to Twenty Seventeen: Scaling Issue on Front Page Parallax Image Using Safari on iPadOS
#4
@
2 years ago
One of the users seems to have resolved the issue by commenting out the following CSS
.background-fixed .panel-image { background-attachment: fixed; }
If commenting out that existing CSS is not viable, we can also add the following CSS instead:
.background-fixed .panel-image { background-attachment: unset; }
This issue was also reported in here https://github.com/Automattic/themes/issues/1421
This ticket was mentioned in Slack in #core by audrasjb. View the logs.
2 years ago
#7
@
2 years ago
I tested this on my iPad 8th Generation, running iOS 14.7.1.
I was able to replicate the reported problem and then after adding in the patch on this ticket, was able to verify that it fixed the problem.
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 thebackground-size
would not work well with every image size.This patch should return the
background-attachment
toscroll
when the browser is iOS Safari and the screen is at least 48em (768px) wide. Narrower screens should have the defaultscroll
regardless of the browser.