attempt #2: link acumin font to order label html
This commit is contained in:
parent
f1e9f53c41
commit
83e8133d3b
@ -245,14 +245,4 @@ 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");
|
|
@ -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;
|
||||||
@ -63,7 +71,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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user