From 98714265b19ecab869a8a5d22c47c758b136b77b Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Sat, 18 Apr 2020 19:00:49 +0200 Subject: [PATCH] further work on menu and posts --- kit/functions.php | 21 +++++++++++++-------- kit/style.css | 2 +- kit/template-parts/content-page.php | 18 ++++++++++++++++++ 3 files changed, 32 insertions(+), 9 deletions(-) diff --git a/kit/functions.php b/kit/functions.php index aa60cd2..e30b833 100644 --- a/kit/functions.php +++ b/kit/functions.php @@ -34,8 +34,6 @@ class kit_custom_main_menu extends Walker_Nav_Menu { ' . "\n"; @@ -76,6 +72,8 @@ class kit_custom_main_menu extends Walker_Nav_Menu { if ($depth == 1) { $output .= ' +
+ '; } else { $output .= ''; } @@ -214,7 +215,11 @@ function kit_customize_css() } h2::after { - background-color: ; + background-color: ; + } + + .page-category-marker { + background-color: ; } diff --git a/kit/style.css b/kit/style.css index 40ccf52..aa36d3c 100644 --- a/kit/style.css +++ b/kit/style.css @@ -1356,6 +1356,7 @@ aside .aside-icon:hover { .intro-element .content-wrap h2, .intro-element .content-wrap .h2 { color: #ffffff; + text-shadow: 1px 1px 3px black; } .intro-element .video-loop { @@ -3371,7 +3372,6 @@ body.page-theme-color-quaternary .tab-navigation-item.active > div::after { line-height: 0.83333rem; text-transform: uppercase; letter-spacing: .2px; - background-color: #009982; transition: background-color .3s; } diff --git a/kit/template-parts/content-page.php b/kit/template-parts/content-page.php index 752de14..a099f7d 100644 --- a/kit/template-parts/content-page.php +++ b/kit/template-parts/content-page.php @@ -1,3 +1,14 @@ +name; + +//get category url +$kit_category_url = get_category_link( $kit_categories[0]->term_id ); + +?>
@@ -6,6 +17,13 @@
+ + + + + + + ', '' ); ?>