Making WordPress.org

Changeset 4760


Ignore:
Timestamp:
01/24/2017 06:29:37 AM (8 years ago)
Author:
mapk
Message:

Breathe: Highlighted 'active' nav item fix.

The 'active' menu item was not highlighting correctly on https://make.wordpress.org/training/handbook/about/getting-started/, so rather than relying on jQuery to make it work, I just added a CSS selector instead which works correctly now.

Props samuelsidler

See #2389, #2410

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-breathe/style.css

    r4758 r4760  
    4040    border-bottom: 1px solid #eee;
    4141    padding: 10px;
    42 }
    43 
    44 .entry-content td,
    45 .entry-content th {
    46     padding: 1em !important;
    47 }
    48 
    49 .entry-content th {
    50     font-weight: bold;
    5142}
    5243
     
    985976  background-color: #0073aa;
    986977}
    987 .menu-table-of-contents-container ul a.active {
     978.menu-table-of-contents-container ul a.active,
     979.menu-table-of-contents-container .current-menu-item > a {
    988980  color: #555 !important;
    989981  background-color: #fff;
Note: See TracChangeset for help on using the changeset viewer.