Verified Commit a731ab14 authored by Jakob Moser's avatar Jakob Moser
Browse files

Embed SVG as background image instead

parent 7e93cd35
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -50,9 +50,7 @@ get_header();
    </head>
    <body class="<?php echo is_admin_bar_showing() ? 'has-admin-bar' : '';?>">
        <header>
            <a class="logo" href="<?php echo home_url();?>">
                <embed src="<?php echo get_template_directory_uri();?>/img/logo.svg" />
            </a>
            <a class="logo" href="<?php echo home_url();?>"></a>
            <a class="nav-toggle" href="#nav">Menü</a>
            <nav id="nav">
                <?php wp_nav_menu(array('container'=>'false')); ?>
+5 −1
Original line number Diff line number Diff line
@@ -7,7 +7,7 @@
 * Author: personads :: Maximilian Müller-Eberstein (ursprüngliche Version und Design); Jakob Moser
 * Author URI: https://personads.me/
 *
 * Version: 2.9.0
 * Version: 2.9.1
 * Requires PHP: 8.0
 *
 * License: GNU General Public License v3.0
@@ -143,6 +143,10 @@ body > header .logo {
    display: inline-block;
    max-width: 350px;
    max-height: 108px;
    background-image: url("img/logo.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #000;
    width: 250px;
    height: 77px;
    margin: 8px 0px -5px 10px;