[wp-trac] [WordPress Trac] #28967: Twenty Fourteen: Click on Continue Reading, and first line Covered
WordPress Trac
noreply at wordpress.org
Tue Jul 29 09:25:48 UTC 2014
#28967: Twenty Fourteen: Click on Continue Reading, and first line Covered
---------------------------+-----------------------------
Reporter: Quantumstate | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Bundled Theme | Version: 3.9
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: 2014
---------------------------+-----------------------------
Comment (by slobodanmanic):
It was simple using CSS only:
{{{
.masthead-fixed .entry-content span[id*="more-"] {
display: block;
padding-top: 40px;
margin-top: -64px;
}
.admin-bar.masthead-fixed .entry-content span[id*="more-"] {
padding-top: 72px;
margin-top: -96px;
}
}}}
Not sure if I should add any comments to these selectors, but rest of
Twenty Fourteen's CSS file doesn't have them.
24px difference is to offset bottom margin for paragraph that wraps #more-
xxx {{{<span>}}} element. According to caniuse.com selectors should work
with IE8+ and all other browsers, but I haven't tested with IE8.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28967#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list