Revert "Replace header text logo with image logo"
This reverts commit b35731164d.
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
@@ -11,9 +11,13 @@
|
||||
<div class="header-inner">
|
||||
<!-- Logo -->
|
||||
<div class="site-branding">
|
||||
<a href="<?php echo esc_url(home_url('/')); ?>" class="site-logo-link">
|
||||
<img src="<?php echo esc_url(get_template_directory_uri() . '/assets/images/logo.webp'); ?>" alt="<?php bloginfo('name'); ?>" class="site-logo">
|
||||
<?php if (has_custom_logo()) : ?>
|
||||
<?php the_custom_logo(); ?>
|
||||
<?php else : ?>
|
||||
<a href="<?php echo esc_url(home_url('/')); ?>" class="site-title-link">
|
||||
<span class="site-title"><?php bloginfo('name'); ?></span>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<!-- Desktop Navigation -->
|
||||
|
||||
@@ -27,17 +27,26 @@
|
||||
// Logo / Branding
|
||||
.site-branding {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.site-logo-link {
|
||||
.custom-logo-link {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.site-logo {
|
||||
height: 50px;
|
||||
img {
|
||||
max-height: 60px;
|
||||
width: auto;
|
||||
display: block;
|
||||
margin: -4px 0; // Negative margin to fit 50px logo without changing header height
|
||||
}
|
||||
}
|
||||
|
||||
.site-title-link {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.site-title {
|
||||
font-family: var(--font-display);
|
||||
font-size: 1.5rem;
|
||||
color: var(--color-text);
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
}
|
||||
|
||||
// Desktop Navigation
|
||||
|
||||
Reference in New Issue
Block a user