updated font

This commit is contained in:
Ross Trottier 2024-07-31 12:03:15 -06:00
parent 9ba7e7c4c2
commit 13b0e7bb8d
2 changed files with 10 additions and 0 deletions

View File

@ -12,4 +12,10 @@ function twitchfront_enqueue_styles() {
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>';
}
add_action('wp_enqueue_scripts', 'slowtwitch_register_styles_scripts');
function slowtwitch_register_styles_scripts() {
wp_enqueue_style( 'roboto font', 'https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap' );
}

View File

@ -4,6 +4,10 @@
* ...other header fields
*/
body {
font-family: "Roboto", sans-serif;
}
.wc-block-grid__products .wc-block-grid__product-image img {
width: 250px !important;
object-fit: cover;