header update
This commit is contained in:
parent
0b68e2580f
commit
9ba7e7c4c2
BIN
assets/images/logotype-dark-blue.png
Normal file
BIN
assets/images/logotype-dark-blue.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 30 KiB |
BIN
assets/images/slowtwitch-ball-dark-blue.png
Normal file
BIN
assets/images/slowtwitch-ball-dark-blue.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
@ -8,3 +8,8 @@ function twitchfront_enqueue_styles() {
|
|||||||
get_stylesheet_uri()
|
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>';
|
||||||
|
}
|
30
style.css
30
style.css
@ -8,4 +8,32 @@
|
|||||||
width: 250px !important;
|
width: 250px !important;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
aspect-ratio: 1 / 1;
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user