From 9c09012994342ca31182618039b3d0eb0f3bc808 Mon Sep 17 00:00:00 2001 From: velikova Date: Tue, 15 Sep 2015 01:52:04 +0300 Subject: [PATCH 1/3] fixes menu items padding --- css/styles.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/css/styles.css b/css/styles.css index 91b14af..d544218 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; @@ -280,7 +279,7 @@ nav ul a { color: #000; text-decoration: none; display: block; - padding: 1.5em 0.4em; + padding: 1.9em 0.4em; } nav ul .sub-menu { From 8da476a05815022ab6defd5366a6a33a9099c687 Mon Sep 17 00:00:00 2001 From: Hristo Stefanov Date: Wed, 16 Sep 2015 09:07:34 +0300 Subject: [PATCH 2/3] Fixed bottom padding for menu items --- css/styles.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/styles.css b/css/styles.css index b5f8825..c0f1597 100644 --- a/css/styles.css +++ b/css/styles.css @@ -280,7 +280,7 @@ nav ul a { color: #000; text-decoration: none; display: block; - padding: 1.9em 0.4em; + padding: 1.9em 0.4em 1.5em 0.4em; } nav ul .sub-menu { From cce86c0383b4c2af44adbf746d864e72d9e85a6b Mon Sep 17 00:00:00 2001 From: Vasil Kolev Date: Sun, 20 Sep 2015 15:44:01 +0300 Subject: [PATCH 3/3] add code-of-conduct for the submenu --- page.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ) ); }