From fd916929848758835f3311cfc6e9279c19fe6608 Mon Sep 17 00:00:00 2001 From: jorge-vitrubio Date: Thu, 27 May 2021 15:04:27 +0200 Subject: [PATCH] moved tags to bottom of header. applied styles. --- biofriction-theme/archive.php | 7 ------- biofriction-theme/header.php | 13 +++++++------ .../src/assets/scss/components/_tags.scss | 4 ++-- .../src/assets/scss/modules/_header.scss | 9 ++++----- .../src/assets/scss/modules/_navigation.scss | 3 --- 5 files changed, 13 insertions(+), 23 deletions(-) diff --git a/biofriction-theme/archive.php b/biofriction-theme/archive.php index 55e0ae3..4449e8f 100644 --- a/biofriction-theme/archive.php +++ b/biofriction-theme/archive.php @@ -26,13 +26,6 @@ get_header(); ?> - -
- - - -
-
diff --git a/biofriction-theme/header.php b/biofriction-theme/header.php index f165be0..c4269b2 100644 --- a/biofriction-theme/header.php +++ b/biofriction-theme/header.php @@ -28,13 +28,14 @@ + + + diff --git a/biofriction-theme/src/assets/scss/components/_tags.scss b/biofriction-theme/src/assets/scss/components/_tags.scss index c110e65..18742ee 100644 --- a/biofriction-theme/src/assets/scss/components/_tags.scss +++ b/biofriction-theme/src/assets/scss/components/_tags.scss @@ -1,7 +1,8 @@ .bfr_category_tags { + font-family: $header-font-family; .tag-cloud-link::before { content: '#'; - display: inline-block; + // display: inline-block; } a{ padding:0; @@ -12,4 +13,3 @@ } } } - diff --git a/biofriction-theme/src/assets/scss/modules/_header.scss b/biofriction-theme/src/assets/scss/modules/_header.scss index 6532731..3a7e936 100644 --- a/biofriction-theme/src/assets/scss/modules/_header.scss +++ b/biofriction-theme/src/assets/scss/modules/_header.scss @@ -19,11 +19,10 @@ } .bfr_category_tags { - min-height: $global-margin * 6.5; - margin-bottom: -($global-margin * 6.5); - padding-top: $global-padding; - display:flex; - justify-content:center; + // display:flex; + // justify-content:center; + max-width: calc(66vw - 4rem); + margin: 0 auto; a { display:inline-block; margin-bottom: auto; diff --git a/biofriction-theme/src/assets/scss/modules/_navigation.scss b/biofriction-theme/src/assets/scss/modules/_navigation.scss index b5bff2f..62ed6cf 100644 --- a/biofriction-theme/src/assets/scss/modules/_navigation.scss +++ b/biofriction-theme/src/assets/scss/modules/_navigation.scss @@ -46,9 +46,6 @@ color:$primary-color; } } - li.current-menu-item.is-active > a { -// color:$secondary-color; - } li.is-dropdown-submenu-parent > a::after { border-color: $primary-color transparent transparent; }