[wp-trac] [WordPress Trac] #25363: Twenty Fourteen: change diagonal lines placeholder background-attachment
WordPress Trac
noreply at wordpress.org
Fri Sep 20 06:46:30 UTC 2013
#25363: Twenty Fourteen: change diagonal lines placeholder background-attachment
-------------------------+-----------------------------
Reporter: buffler | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords: has-patch
-------------------------+-----------------------------
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,
[http://irclogs.wordpress.org/chanlog.php?channel=wordpress-
themes&day=2013-08-27&sort=asc#m64542 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).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25363>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list