typo style fixes, added language selection

This commit is contained in:
Jonas Heinrich 2020-04-17 17:52:34 +02:00
parent e34d02a42e
commit 35b5df405b
7 changed files with 58 additions and 14 deletions

View file

@ -77,7 +77,7 @@ class kit_custom_main_menu extends Walker_Nav_Menu {
if ($depth == 1) {
$output .= '
<a class="nav-second-level-group-headline" href="' . $permalink . '">
<img class="icon" src="' . $theme_template_path .'/img/nav-second-level-star-primary.svg" alt="" width="24" height="24">
<div class="icon"></div>
<span>
';
$output .= $title;
@ -201,6 +201,22 @@ function kit_customize_css()
color: <?php echo get_theme_mod('theme_color', '#009982'); ?>;
}
.nav-second-level-group-headline .icon {
background-color: <?php echo get_theme_mod('theme_color', '#009982'); ?>;
}
.header-lang li a:hover {
color: <?php echo get_theme_mod('theme_color', '#009982'); ?>;
}
.header-lang li.active span {
color: <?php echo get_theme_mod('theme_color', '#009982'); ?>;
}
h2::after {
background-color: <?php echo get_theme_mod('theme_color', '#009982'); ?>;
}
</style>
<?php
}