Fix color in breadcrumb
This commit is contained in:
parent
ec3abaa1f4
commit
6557534b73
|
@ -259,6 +259,7 @@ nav{
|
|||
}
|
||||
&[aria-label='breadcrumb']{
|
||||
border-bottom: 1px solid #cbcbcb;
|
||||
font-size: 0.875rem;
|
||||
.breadcrumb{
|
||||
background: transparent;
|
||||
@media screen {
|
||||
|
|
|
@ -9,7 +9,7 @@ function the_breadcrumb() {
|
|||
$delimiter = '>'; // delimiter between crumbs
|
||||
$home = __('Home', 'tainacan-interface'); // text for the 'Home' link
|
||||
$showCurrent = 1; // 1 - show current post/page title in breadcrumbs, 0 - don't show
|
||||
$before = '<span class="current">'; // tag before the current crumb
|
||||
$before = '<span class="current text-black">'; // tag before the current crumb
|
||||
$after = '</span>'; // tag after the current crumb
|
||||
|
||||
global $post;
|
||||
|
@ -17,11 +17,11 @@ function the_breadcrumb() {
|
|||
|
||||
if (is_home() || is_front_page()) {
|
||||
|
||||
if ($showOnHome == 1) echo '<nav aria-label="breadcrumb" class="d-none d-md-flex mt-3 border-bottom-0 max-large margin-one-column"><a href="' . $homeLink . '">' . $home . '</a></nav>';
|
||||
if ($showOnHome == 1) echo '<nav aria-label="breadcrumb" class="d-none d-md-flex mt-3 border-bottom-0 max-large margin-one-column text-jelly-bean"><a href="' . $homeLink . '">' . $home . '</a></nav>';
|
||||
|
||||
} else {
|
||||
|
||||
echo '<nav aria-label="breadcrumb" class="d-none d-md-flex mt-3 border-bottom-0 max-large margin-one-column"><a href="' . $homeLink . '">' . $home . '</a> ' . $delimiter . ' ';
|
||||
echo '<nav aria-label="breadcrumb" class="d-none d-md-flex mt-3 border-bottom-0 max-large margin-one-column text-jelly-bean "><a href="' . $homeLink . '">' . $home . '</a> ' . $delimiter . ' ';
|
||||
|
||||
if ( is_category() ) {
|
||||
$thisCat = get_category(get_query_var('cat'), false);
|
||||
|
|
Loading…
Reference in New Issue