This commit is contained in:
Jonas Heinrich 2022-03-12 14:17:05 +01:00
parent 298287636b
commit 75ec5e9210
3 changed files with 9 additions and 3 deletions

View file

@ -56,7 +56,7 @@ function theme_customize_register( $wp_customize ) {
add_action( 'customize_register', 'theme_customize_register' );
function kit_customize_css()
function fachwerksauna_customize_css()
{
$theme_color = get_theme_mod('theme_color', '#ed9b40');
?>
@ -68,4 +68,4 @@ function kit_customize_css()
<?php
}
add_action( 'wp_head', 'kit_customize_css');
add_action( 'wp_head', 'fachwerksauna_customize_css');

View file

@ -17,7 +17,7 @@
</head>
<body id="signal" class="index has-navbar-fixed-top">
<body id="signal" <?php body_class( "has-navbar-fixed-top" ); ?>>
<nav class="navbar mainNavbar is-fixed-top" role="navigation" aria-label="main navigation">
<div class="container">
<div class="navbar-brand">
@ -175,6 +175,7 @@
</div>
</div>
</div>
<?php wp_footer(); ?>
</footer>
<script language="javascript">
var burgerMenu = document.getElementsByClassName('navbar-burger')[0];

View file

@ -210,6 +210,11 @@ html.has-navbar-fixed-top {
border-bottom: 1px solid #ebeaeb
}
body.logged-in,
body.logged-in nav {
margin-top: 32px;
}
@media (min-width: 1024px) {
body.has-navbar-fixed-top,