From d36bb36aede1a458329cfd03b0d74e33b5055f7b Mon Sep 17 00:00:00 2001 From: Aadil Ayub Date: Thu, 27 Jun 2024 19:35:05 +0500 Subject: [PATCH] add label font --- wp-content/themes/mont58-coffee/functions.php | 10 ++++++++++ .../themes/mont58-coffee/template-order-label.php | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/mont58-coffee/functions.php b/wp-content/themes/mont58-coffee/functions.php index ef62330..a76f2a0 100644 --- a/wp-content/themes/mont58-coffee/functions.php +++ b/wp-content/themes/mont58-coffee/functions.php @@ -246,3 +246,13 @@ add_filter( 10, 3 ); + +// import acumin variable font +function mont58coffee_enqueue_fonts() +{ + wp_enqueue_style( + "mont58coffee-fonts", + get_theme_file_uri("/fonts/acumin-variable-concept.css") + ); +} +add_action("wp_enqueue_scripts", "mont58coffee_enqueue_fonts"); \ No newline at end of file diff --git a/wp-content/themes/mont58-coffee/template-order-label.php b/wp-content/themes/mont58-coffee/template-order-label.php index de72263..0ca253b 100644 --- a/wp-content/themes/mont58-coffee/template-order-label.php +++ b/wp-content/themes/mont58-coffee/template-order-label.php @@ -38,7 +38,7 @@ if(!is_user_logged_in()){ } .label .product-details { - font-family: 'Roboto Condensed'; + font-family: 'Acumin Variable Concept', sans-serif; font-size: calc(0.35 * 21px); letter-spacing: calc(0.35 * 2px); text-transform: uppercase;