This file will setup Wordpress, MySQL & PHPMyAdmin with a single command. Add the code below to a file called "docker-compose.yaml" and run the command
$ docker-compose up -d
# To Tear Down
$ docker-compose down --volumes
/* this is the "root" in "root em." */ | |
html { | |
font-size: 62.5%; /* Now 10px = 1rem! */ | |
} | |
body { | |
font-size: 16px; /* px fallback */ | |
font-size: 1.6rem; /* default font-size for document */ | |
line-height: 1.5; /* a nice line-height */ | |
} |
<?php | |
// Add back to store button on WooCommerce cart page | |
add_action('woocommerce_cart_coupon', 'themeprefix_back_to_store'); | |
// add_action( 'woocommerce_cart_actions', 'themeprefix_back_to_store' ); | |
function themeprefix_back_to_store() { ?> | |
<a class="button wc-backward" href="<?php echo esc_url( wc_get_page_permalink( 'shop' ) ); ?>"> <?php _e( 'Return to shop', 'woocommerce' ) ?> </a> |
body { | |
background-color: #0d2235; | |
} | |
.error { | |
background-color: #b7322c; | |
padding: 1rem; | |
color: white; | |
font-size: 18px; | |
text-transform: uppercase; | |
font-weight: bold; |