This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'init', 'custom_remove_footer_credit', 10 ); | |
function custom_remove_footer_credit () { | |
remove_action( 'storefront_footer', 'storefront_credit', 20 ); | |
add_action( 'storefront_footer', 'custom_storefront_credit', 20 ); | |
} | |
function custom_storefront_credit() { | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function woo_logo () { | |
$settings = woo_get_dynamic_values( array( 'logo' => '' ) ); | |
// Setup the tag to be used for the header area (`h1` on the front page and `span` on all others). | |
$heading_tag = 'span'; | |
if ( is_home() || is_front_page() ) { $heading_tag = 'h1'; } | |
// Get our website's name, description and URL. We use them several times below so lets get them once. | |
$site_title = get_bloginfo( 'name' ); | |
$site_url = home_url( '/' ); | |
$site_description = get_bloginfo( 'description' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.sticky-wrapper, .sd-sticky-navigation, .sd-sticky-navigation::before, .sd-sticky-navigation::after { | |
height: 92px !important; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.site-main ul.products li.product:nth-child(5n) { | |
width: 50%; | |
} | |
.site-main ul.products li.product:nth-child(3n) { | |
width: 25%; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.hero h1.section-title span { | |
color: white; | |
background-color: rgba(4, 0, 68, 0.8); | |
box-shadow: 0.618em 0 0 0 rgba(4, 0, 68, 0.8), -0.618em 0 0 0 rgba(4, 0, 68, 0.8); | |
-webkit-box-shadow: 0.618em 0 0 0 rgba(4, 0, 68, 0.8), -0.618em 0 0 0 rgba(4, 0, 68, 0.8); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#featured-slider .slide-content footer, | |
.post-date{ | |
display: none; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media only screen and (max-width: 767px) { | |
#header { | |
height: 100px; | |
} | |
#content { | |
padding-bottom: 0px; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@media only screen and (max-width: 540px){ | |
#logo img { | |
max-width: 50%; | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* replace read more buttons for out of stock items | |
**/ | |
if (!function_exists('woocommerce_template_loop_add_to_cart')) { | |
function woocommerce_template_loop_add_to_cart() { | |
global $product; | |
if (!$product->is_in_stock()) { | |
echo '<a href="'.get_permalink().'" rel="nofollow" class="outstock_button">Out of Stock</a>'; | |
} | |
else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#logo img { | |
padding-left: 120px; | |
} | |
.searchform input.s, #searchform input#s { | |
width: 250px; | |
} |