Skip to content

Instantly share code, notes, and snippets.

Avatar

Amy Hill anvilzephyr

View GitHub Profile
@vanbo
vanbo / wc-css-make-storefront-product-tabs-horizontal
Created Oct 27, 2017
WooCommerce: CSS to make Storefront product tabs horizontal again
View wc-css-make-storefront-product-tabs-horizontal
.product .woocommerce-tabs ul.tabs {
width: 100%;
float: none;
margin-right: 5.8823529412%;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
list-style: none;
padding: 0 0 0 1em;
margin: 0 0 1.618em;
View mime_types_array.php
<?php
// MIME types definition
$types = array (
'3dmf' => 'x-world/x-3dmf',
'3dm' => 'x-world/x-3dmf',
'avi' => 'video/x-msvideo',
'ai' => 'application/postscript',
'bin' => 'application/octet-stream',
'bin' => 'application/x-macbinary',
'bmp' => 'image/bmp',
You can’t perform that action at this time.