Positioning fixes for non-coffee items
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
2046a23a4b
commit
3ea3cf7e6f
@ -197,7 +197,7 @@ function mont58_coffee_label_add_sidepanel()
|
|||||||
{
|
{
|
||||||
add_meta_box(
|
add_meta_box(
|
||||||
"mont58_coffee_label_sidepanel",
|
"mont58_coffee_label_sidepanel",
|
||||||
"Coffee Label",
|
"Label",
|
||||||
"mont58_coffee_label_render_sidepanel",
|
"mont58_coffee_label_render_sidepanel",
|
||||||
"shop_order",
|
"shop_order",
|
||||||
"side",
|
"side",
|
||||||
@ -255,4 +255,4 @@ function mont58coffee_enqueue_fonts()
|
|||||||
get_theme_file_uri("/fonts/acumin-variable-concept.css")
|
get_theme_file_uri("/fonts/acumin-variable-concept.css")
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
add_action("wp_enqueue_scripts", "mont58coffee_enqueue_fonts");
|
add_action("wp_enqueue_scripts", "mont58coffee_enqueue_fonts");
|
||||||
|
@ -31,6 +31,7 @@ if(!is_user_logged_in()){
|
|||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
position: relative;
|
||||||
background: linear-gradient(
|
background: linear-gradient(
|
||||||
0deg,
|
0deg,
|
||||||
rgba(255, 255, 255, 1) 28%,
|
rgba(255, 255, 255, 1) 28%,
|
||||||
@ -75,7 +76,10 @@ if(!is_user_logged_in()){
|
|||||||
}
|
}
|
||||||
|
|
||||||
.label .order-details {
|
.label .order-details {
|
||||||
padding-bottom: 1em;
|
position: absolute;
|
||||||
|
text-align: center;
|
||||||
|
width: 88%;
|
||||||
|
top: 120px;
|
||||||
font-size: calc(0.35 * 17px);
|
font-size: calc(0.35 * 17px);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user