diff --git a/css/styles.css b/css/styles.css index c84274b..c0f1597 100644 --- a/css/styles.css +++ b/css/styles.css @@ -267,7 +267,6 @@ nav .menu > li:hover { .menu li.fa a { - padding-top: 0; position: absolute; display: block; top: 0; @@ -281,7 +280,7 @@ nav ul a { color: #000; text-decoration: none; display: block; - padding: 1.5em 0.4em; + padding: 1.9em 0.4em 1.5em 0.4em; } nav ul .sub-menu { diff --git a/page.php b/page.php index 36732fa..a6b1a6c 100644 --- a/page.php +++ b/page.php @@ -2,7 +2,7 @@ get_header(); /* Some special pages (the ones describing the event, team, etc. need a special submenu */ -if ( preg_match('/^(about|ideas-and-recommendations|feedback|team|history|volunteers)/', $pagename) ) { +if ( preg_match('/^(about|ideas-and-recommendations|feedback|team|history|volunteers|code-of-conduct)/', $pagename) ) { wp_nav_menu( array( 'theme_location' => 'subnav-menu', 'container_class' => 'content subnav cf' ) ); }