Commit eb39d8c1 authored by Jakob Moser's avatar Jakob Moser
Browse files

Re-introduce admin bar fix

parent fd835b82
Loading
Loading
Loading
Loading
+1 −1
Changes for header.php: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ get_header();
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />
        <?php wp_head(); ?>
    </head>
    <body>
    <body class="<?php echo is_admin_bar_showing() ? 'has-admin-bar' : '';?>">
		<header>
			<a class="logo-link" href="<?php echo home_url();?>"><div class="logo"></div></a>
            <a class="menu-toggle" href="#menu-container">Menü</a>
+5 −1
Changes for style.css: 5 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ Theme URI: https://gitlab.cl.uni-heidelberg.de/fachschaft/wp-theme
Description: Ein zeitloses WordPress-Theme für die Fachschaft Computerlinguistik in Heidelberg, gehalten in den Farben rot, grau und schwarz. Seit Mitte 2020 nach Anpassungen von Jakob Moser sogar leidlich responsive.
Author: personads :: Maximilian Müller-Eberstein
Author URI: https://personads.me/
Version: 1.00-snapshot-17
Version: 1.00-snapshot-18
Tags: fs-coli, custom

License: GNU General Public License v3.0
@@ -42,6 +42,10 @@ body {
    background: var(--background-color);
}

body.has-admin-bar {
    min-height: calc(100vh - 32px);
}

/* By default: Let header, main and footer span the entire page */
header, main, footer {
    grid-column-start: 1;