header update

This commit is contained in:
Ross Trottier 2024-07-31 11:47:35 -06:00
parent 0b68e2580f
commit 9ba7e7c4c2
4 changed files with 34 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@ -8,3 +8,8 @@ function twitchfront_enqueue_styles() {
get_stylesheet_uri()
);
}
function storefront_site_branding() {
echo '<a href="' . get_site_url( ) . '"><img class="st-masthead-logo" src="/wp-content/themes/twitchfront/assets/images/logotype-dark-blue.png" alt="Slowtwitch Logo" /></a>';
}

View File

@ -9,3 +9,31 @@
object-fit: cover;
aspect-ratio: 1 / 1;
}
.st-masthead-logo {
margin-bottom: 2em;
}
@media (max-width: 768px) {
#masthead {
display: grid;
grid-template-columns: 1em minmax(250px, 600px) minmax(130px, 400px) 1em;
align-items: center;
justify-content: end;
}
.st-masthead-logo {
grid-column: 2 / span 1;
margin-bottom: 0;
width: 100%;
}
.storefront-primary-navigation .col-full {
margin-right: 0;
}
.handheld-navigation {
text-align: right;
}
}