Opened 7 years ago
Closed 7 years ago
#25363 closed enhancement (fixed)
Twenty Fourteen: change diagonal lines placeholder background-attachment
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.8 | Priority: | normal |
Severity: | normal | Version: | 3.8 |
Component: | Bundled Theme | Keywords: | has-patch |
Focuses: | Cc: |
Description
Something that can be a bit jarring about small diagonal line patterns (like those used as a background for featured images in Twenty Fourteen) is the way they'll appear to flash as you scroll down the page.
On any site that makes good use of featured images, which the diagonal lines encourage, this won't be noticed often. But on any site that fails to make good use of featured images, the flashing-while-scrolling thing may prove distracting to its visitors.
Maybe this is really trivial? - but the fix is easy. Just adding background-attachment: fixed;
to the elements that use these backgrounds will achieve the same effect but with improved results: you still have featured images (or lack thereof) with the diagonal background appearing to scroll up the page, just no flashing.
I've attached a patch (hope I do this right, it's my first).
related: #25300