Making WordPress.org

Changeset 8853


Ignore:
Timestamp:
05/23/2019 04:04:22 PM (6 years ago)
Author:
johnjamesjacoby
Message:

BuddyPress/bbPress: shrink logo on smaller screens.

Fixes a bug where the logo would get hidden behind the subnav on certain dimension displays.

See #4460.

Location:
sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/functions.php

    r8852 r8853  
    5555
    5656    // Version of CSS
    57     $version = '201905230001';
     57    $version = '201905230002';
    5858
    5959    // Base theme styling
  • sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base/style.css

    r8852 r8853  
    16171617}
    16181618
     1619/* Shrink logo to make room for navigation */
     1620@media screen and ( max-width: 820px ) {
     1621    #header-inner h1 a {
     1622        width: 65px !important;
     1623    }
     1624}
     1625
    16191626/* Do not fix #header for non-desktops */
    16201627@media screen and ( max-width: 782px ) {
     
    16231630        z-index: 999999;
    16241631        position: absolute;
    1625     }
    1626     #header-inner h1 a {
    1627         width: 65px !important;
    16281632    }
    16291633    #wpadminbar {
     
    16821686        border-radius: 0;
    16831687    }
     1688    #header #nav #bb-nav li.current a {
     1689        color: #fff;
     1690    }
    16841691    #header #bb-nav,
    16851692    #bbpress-forums .bbp-pagination-count,
Note: See TracChangeset for help on using the changeset viewer.