Compare commits

...

2 Commits

Author SHA1 Message Date
ad65b5a4b8 Merge branch 'main' of ssh://git.autonomic.zone:2222/autonomic-cooperative/mont58-theme
All checks were successful
continuous-integration/drone/push Build is passing
2024-06-27 20:35:22 +05:00
83e8133d3b attempt #2: link acumin font to order label html 2024-06-27 20:34:33 +05:00
2 changed files with 8 additions and 11 deletions

View File

@ -246,13 +246,3 @@ add_filter(
10, 10,
3 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");

View File

@ -16,6 +16,14 @@ if(!is_user_logged_in()){
<link href="<?php echo get_theme_file_uri('/fonts/acumin-variable-concept.css') ?>" rel="stylesheet"> <link href="<?php echo get_theme_file_uri('/fonts/acumin-variable-concept.css') ?>" rel="stylesheet">
<link rel="stylesheet" href="style.css"> <link rel="stylesheet" href="style.css">
<style> <style>
/* acumin-variable-concept */
@font-face {
font-family: Acumin Variable Concept;
font-style: normal;
font-weight: 400;
src: local("Acumin Variable Concept"), local("AcuminVariableConcept"), url(<?php echo get_theme_file_uri('/fonts/acumin-variable-concept.woff2'); ?>) format("woff2");
}
.container { .container {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
@ -64,7 +72,6 @@ if(!is_user_logged_in()){
.label .product-details .weight { .label .product-details .weight {
text-transform: lowercase; text-transform: lowercase;
font-weight: bold; font-weight: bold;
font-family: sans-serif;
font-size: calc(0.35 * 18px); font-size: calc(0.35 * 18px);
} }