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
/*change lines 1677 from*/ | |
@media only screen and (max-width: 767px) and (min-width: 320px) | |
.node-type-hike .vt-commerce-image-wrapper .vt-commerce-image-large img, | |
.node-type-destination .vt-commerce-image-wrapper .vt-commerce-image-large img, | |
.node-type-park .vt-commerce-image-wrapper .vt-commerce-image-large img { | |
float: left; | |
height: 100% !important; | |
/* margin: -2px 6px 10px 0; */ | |
width: auto !important; |
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
<?php | |
$args = array( | |
'post_type' => 'feature', // enter your custom post type | |
); | |
$loop = new WP_Query( $args ); | |
if( $loop->have_posts() ): |
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
/*testimonials loop */ | |
.site-1200 { | |
margin:30px auto; | |
display:block; | |
position:relative; | |
max-width:1140px; | |
} |
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
@media only screen and (max-device-width: 480px) and (min-device-width: 320px) | |
.view-id-hike_single_page .views-field.views-field-field-features { | |
line-height: 32px; | |
margin-top: 315px; | |
padding-left: 20px; | |
} | |
@media only screen and (max-device-width: 480px) and (min-device-width: 320px) | |
.get-directions { |
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
<?php | |
$args = array( | |
'post_type' => 'accessory', // enter your custom post type | |
); | |
$loop = new WP_Query( $args ); | |
if( $loop->have_posts() ): |
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
.easy-breadcrumb a { | |
margin-left: -34px; | |
/* background-image: url(/sites/default/files/navigation-tab-bg.png); */ | |
padding: 12px 50px 14px; | |
color: #666; | |
background-position: top right; | |
background-repeat: no-repeat; | |
font-weight: normal; | |
} |
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
jQuery(document).ready(function($){ | |
$(".clear_field input").focus(function () { | |
var origval = $(this).val(); | |
$(this).val(""); | |
//console.log(origval); | |
$(".clear_field input").blur(function () { | |
if($(this).val().length === 0 ) { | |
$(this).val(origval); | |
origval = null; | |
}else{ |
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
<?php | |
/** | |
* Fix Gravity Form Tabindex Conflicts | |
* http://gravitywiz.com/fix-gravity-form-tabindex-conflicts/ | |
*/ | |
add_filter( 'gform_tabindex', 'gform_tabindexer', 10, 2 ); | |
function gform_tabindexer( $tab_index, $form = false ) { | |
$starting_index = 1000; // if you need a higher tabindex, update this number | |
if( $form ) | |
add_filter( 'gform_tabindex_' . $form['id'], 'gform_tabindexer' ); |
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
/*stop genesis from setting first image as featured */ | |
function remove_featured_image_archives( $post ) { | |
if( !has_post_thumbnail() ) | |
$post = ''; | |
return $post; | |
} | |
add_filter( 'genesis_pre_get_image', 'remove_featured_image_archives', 10, 3 ); |
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( have_rows('parent_field') ): | |
while ( have_rows('parent_field') ) : the_row(); | |
// Your loop code | |
the_sub_field('sub_field'); | |
endwhile; | |
else : |