This file contains 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 .social { | |
float:right; | |
margin-top:4.3em; | |
} | |
#header .newsletter-form .email { | |
width: 140px; | |
} | |
#header .social a { |
This file contains 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
if ( $url != '' ) { | |
echo '<div class="slide-media"> <a href="' . esc_url( $url ) .'">'. $slide_media . '</a>'. '</div><!--/.slide-media-->' . "\n"; | |
}else{ | |
echo '<div class="slide-media">' . $slide_media . '</div><!--/.slide-media-->' . "\n"; | |
} |
This file contains 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 remove_default_menu_and_load_custom(){ | |
remove_action('woo_header_after','woo_nav'); | |
add_action('woo_header_after','custom_nav',10); | |
} | |
add_action('init', 'remove_default_menu',10); | |
This file contains 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
/* | |
* goes in theme functions.php or a custom plugin. Replace the image filename/path with your own :) | |
* | |
**/ | |
add_action( 'init', 'custom_fix_thumbnail' ); | |
function custom_fix_thumbnail() { | |
add_filter('woocommerce_placeholder_img_src', 'custom_woocommerce_placeholder_img_src'); | |
function custom_woocommerce_placeholder_img_src( $src ) { |
This file contains 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
/*-----------------------------------------------------------------------------------*/ | |
/* Optional Top Navigation (WP Menus) */ | |
/*-----------------------------------------------------------------------------------*/ | |
if ( ! function_exists( 'woo_top_navigation' ) ) { | |
function woo_top_navigation() { | |
if ( function_exists( 'has_nav_menu' ) && has_nav_menu( 'top-menu' ) ) { | |
?> | |
<div id="top"> | |
<div class="col-full"> | |
<?php |
This file contains 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_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10 ); |
This file contains 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
body {padding: 0;} | |
#footer-container, #footer-widgets-container { background: #EDEDED; } |
This file contains 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
a.btn { background: transparent url(images/btn-slider-a.png) no-repeat scroll top right; color: #444; display: block; float: left; height: 48px; margin-right: 15px;padding-right: 23px; text-decoration: none; font-weight:bold;font-size:14px;text-transform:uppercase; margin-bottom:20px; } | |
a.btn span { text-shadow:#fff 1px 1px 0; } | |
a.btn { background: transparent url(images/btn-slider-a.png) no-repeat scroll top right; color: #444; display: block; float: left; height: 48px; margin-right: 15px;padding-right: 23px; text-decoration: none; font-weight:bold;font-size:14px;text-transform:uppercase; margin-bottom:20px; } | |
a.btn span { background: transparent url(images/btn-slider-span.png) no-repeat;display: block;line-height:14px;padding: 17px 0 17px 23px;} | |
a.btn:hover { opacity:0.9; color: #222;outline: none;} | |
a.btn:hover span { padding: 17px 0 17px 23px;} |
This file contains 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 ( 'woo_content_before', 'add_blog_title' ); | |
function add_blog_title() { | |
if ( is_page_template( 'template-blog.php' ) ) | |
echo '<h1 class="page-title">Blog Page Title</h1>'; | |
} |