moved tags to bottom of header. applied styles.
This commit is contained in:
parent
cbd58fb809
commit
fd91692984
|
@ -26,13 +26,6 @@ get_header(); ?>
|
||||||
<?php echo category_description(); ?>
|
<?php echo category_description(); ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php if (is_category('peephole')) : ?>
|
|
||||||
<div class="bfr_category_tags">
|
|
||||||
|
|
||||||
<?php // wp_tag_cloud( 'unit=rem&smallest=1&largest=1&number=0&orderby=name' ); ?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
|
||||||
<div class="bfr_category_archive">
|
<div class="bfr_category_archive">
|
||||||
<?php if ( have_posts() ) : ?>
|
<?php if ( have_posts() ) : ?>
|
||||||
<?php /* Start the Loop */ ?>
|
<?php /* Start the Loop */ ?>
|
||||||
|
|
|
@ -28,13 +28,14 @@
|
||||||
<!--nav class="site-top-widgets"--><?php //dynamic_sidebar( 'header-widgets' ); ?><!--/nav-->
|
<!--nav class="site-top-widgets"--><?php //dynamic_sidebar( 'header-widgets' ); ?><!--/nav-->
|
||||||
<nav class="site-center-top-nav medium-6 grid-x align-center">
|
<nav class="site-center-top-nav medium-6 grid-x align-center">
|
||||||
<?php foundationpress_top_bar_c(); ?>
|
<?php foundationpress_top_bar_c(); ?>
|
||||||
|
</nav>
|
||||||
|
<nav class="site-top-nav menu"><?php foundationpress_top_bar_r(); ?></nav>
|
||||||
|
</content>
|
||||||
|
|
||||||
<aside class="bfr_category_tags">
|
<aside class="bfr_category_tags">
|
||||||
<?php if (is_category('peephole') || is_tag() ) : ?>
|
<?php if (is_category('peephole') || is_tag() ) : ?>
|
||||||
<?php wp_tag_cloud( 'unit=rem&smallest=1&largest=1&number=0&orderby=name' ); ?>
|
<?php wp_tag_cloud( 'unit=rem&smallest=1&largest=1&number=0&orderby=name' ); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</aside>
|
</aside>
|
||||||
</nav>
|
|
||||||
<nav class="site-top-nav menu"><?php foundationpress_top_bar_r(); ?></nav>
|
|
||||||
</content>
|
|
||||||
</header>
|
</header>
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
.bfr_category_tags {
|
.bfr_category_tags {
|
||||||
|
font-family: $header-font-family;
|
||||||
.tag-cloud-link::before {
|
.tag-cloud-link::before {
|
||||||
content: '#';
|
content: '#';
|
||||||
display: inline-block;
|
// display: inline-block;
|
||||||
}
|
}
|
||||||
a{
|
a{
|
||||||
padding:0;
|
padding:0;
|
||||||
|
@ -12,4 +13,3 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,11 +19,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.bfr_category_tags {
|
.bfr_category_tags {
|
||||||
min-height: $global-margin * 6.5;
|
// display:flex;
|
||||||
margin-bottom: -($global-margin * 6.5);
|
// justify-content:center;
|
||||||
padding-top: $global-padding;
|
max-width: calc(66vw - 4rem);
|
||||||
display:flex;
|
margin: 0 auto;
|
||||||
justify-content:center;
|
|
||||||
a {
|
a {
|
||||||
display:inline-block;
|
display:inline-block;
|
||||||
margin-bottom: auto;
|
margin-bottom: auto;
|
||||||
|
|
|
@ -46,9 +46,6 @@
|
||||||
color:$primary-color;
|
color:$primary-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
li.current-menu-item.is-active > a {
|
|
||||||
// color:$secondary-color;
|
|
||||||
}
|
|
||||||
li.is-dropdown-submenu-parent > a::after {
|
li.is-dropdown-submenu-parent > a::after {
|
||||||
border-color: $primary-color transparent transparent;
|
border-color: $primary-color transparent transparent;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue