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
/* | |
* Woocommerce styling removed from SeasonedPro 4.0.0 due to low usage across all sites - saved 4 kb CSS | |
* We don't recommend for food blogs: https://feastdesignco.com/how-to/set-up-woocommerce-shop-genesis/ | |
* If you have woocommerce and need this, add it to your Appearances > Customize > Additional CSS tab | |
*/ | |
/* WooCommerce | |
--------------------------------------------- */ |
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
/* | |
* Woocommerce styling removed from CravingsPro 4.0.0 due to low usage across all sites - saved 4 kb CSS | |
* We don't recommend for food blogs: https://feastdesignco.com/how-to/set-up-woocommerce-shop-genesis/ | |
* If you have woocommerce and need this, add it to your Appearances > Customize > Additional CSS tab | |
*/ | |
/* WooCommerce | |
--------------------------------------------- */ |
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
/* | |
* Woocommerce styling removed from BrunchPro 4.0.0 due to low usage across all sites - saved 4 kb CSS | |
* We don't recommend for food blogs: https://feastdesignco.com/how-to/set-up-woocommerce-shop-genesis/ | |
* If you have woocommerce and need this, add it to your Appearances > Customize > Additional CSS tab | |
*/ | |
/* WooCommerce | |
--------------------------------------------- */ |
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: 420px) { | |
/* Resize logo header for smaller devices */ | |
.header-image .site-title > a { | |
height: 150px; | |
max-width: 320px; | |
} | |
} |
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
.header-image .site-title > a { | |
-webkit-background-size: contain !important; | |
background-size: contain !important; | |
display: block; | |
height: 150px; | |
margin: 10px auto; | |
max-width: 320px; | |
text-indent: -9999px; | |
} |
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_theme_support( 'custom-header', array( | |
'width' => 640, | |
'height' => 340, | |
'header-selector' => '.site-title a', | |
'header-text' => false, | |
) ); |
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
/** | |
* Remove the genesis_custom_header_style - bad design practice to use code as styling - this should have been in the CSS | |
* Foodie Pro versions after 3.1.4 include this by default, along with other changes | |
* | |
* The genesis_seo_site_title function is located in genesis/lib/structure/header.php | |
* | |
*/ | |
add_action('after_setup_theme','feast_remove_theme_filter'); | |
function feast_remove_theme_filter(){ |
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
/* | |
.header-image .site-description, | |
.header-image .site-title a { | |
display: block; | |
text-indent: -9999px; | |
} | |
*/ | |
/* Logo, hide text */ | |
/* | |
.header-image .site-title > a { |
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
/** | |
* Filter the genesis_seo_site_title function to use an image for the logo instead of a background image | |
* | |
* The genesis_seo_site_title function is located in genesis/lib/structure/header.php | |
* Original credit http://blackhillswebworks.com/?p=4144 | |
* Add to feast-customizations-plugin to preserve change during updates, not functions.php | |
* | |
*/ | |
add_filter( 'genesis_seo_title', 'feast_filter_genesis_seo_site_title', 10, 2 ); |
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
<div class="video"><h2><i class="fa fa-video-camera" aria-hidden="true"></i> video tutorial</h2> VIDEO HERE </div> |