[wp-trac] [WordPress Trac] #63275: Twenty Fourteen: Sticky menu problem

WordPress Trac noreply at wordpress.org
Wed Apr 16 22:07:12 UTC 2025


#63275: Twenty Fourteen: Sticky menu problem
----------------------------+------------------------------
 Reporter:  SergeyKovalets  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Bundled Theme   |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  ui
----------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:  reporter-feedback =>
 * version:  6.7.2 =>


Comment:

 Russian deactivates Twenty Fourteen's Lato font stylesheet
 ([https://translate.wordpress.org/projects/wp-
 themes/twentyfourteen/ru/default/?filters%5Bterm%5D=lato as you know] 😉).

 Then Firefox somehow makes the `#primary-menu` 48.5 pixels tall when it
 contains a link to the current page. The header height remains 48 pixels
 with a `font-weight` of `900` in Lato, but it is 48.5 pixels with Arial as
 a fallback sans-serif.

 One possible change you could make for //your// site is
 {{{
 .site-navigation .current_page_item > a,
 .site-navigation .current_page_ancestor > a,
 .site-navigation .current-menu-item > a,
 .site-navigation .current-menu-ancestor > a {
   font-weight: 700;
 }
 }}}

 However, I do not yet have a recommendation how to change the theme for
 everybody.

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


More information about the wp-trac mailing list