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
// Google Maps change zoom level | |
// just append &z=15 at the end of src url | |
<iframe src="https://www.google.com/maps/d/embed?mid=zFZSXubrjIbQ.kTtvWjBE06QI&z=15" width="640" height="480"></iframe> |
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
<?php | |
add_action('woocommerce_before_main_content', 'arom_before_main_content'); | |
function arom_before_main_content() { | |
echo '<div class="main-bg no-top-banner"> | |
<div class="container"> | |
<div id="content" class="row" > | |
<div id="main" class="interior col-sm-12" >'; | |
} |
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
// Fixing Chrome issue with buggy position fixed CSS backgrounds (especially tileable repeated pattern backgrounds) | |
// credit http://stackoverflow.com/questions/23571578/chrome-issue-with-background-attachment-fixed-and-position-fixed-elements | |
// the markup | |
<div class="section text-center fixed-bg" id="pricing"> | |
<div class="section-clipper"> | |
<div class="section-image"> | |
</div> | |
</div> |
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
// jQuery - add active class to Bootstrap Accordion Heading | |
if ($('#accordion').length) { | |
var $panels = $('.panel'); | |
// add active class to first open panel | |
// only necessary if this panel is open by default on your accordion | |
$panels.first().addClass('active'); |
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
.gform_validation_container, | |
.gform_wrapper .gform_validation_container, | |
body .gform_wrapper li.gform_validation_container, | |
body .gform_wrapper .gform_body ul.gform_fields li.gfield.gform_validation_container, | |
body .gform_wrapper ul.gform_fields li.gfield.gform_validation_container { | |
display: none !important; | |
position: absolute !important; | |
left: -9000px; | |
} |
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
<?php if( have_rows('tabs') ): ?> | |
<ul class="nav nav-tabs" id="myTab" role="tablist"> | |
<?php $i=0; while ( have_rows('tabs') ) : the_row(); ?> | |
<?php | |
$string = sanitize_title( get_sub_field('tab_title') ); | |
?> | |
<li role="presentation" <?php if ($i==0) { ?>class="active"<?php } ?> > | |
<a href="#<?php echo $string ?>" aria-controls="<?php echo $string ?>" role="tab" data-toggle="tab"><?php the_sub_field('tab_title'); ?></a> | |
</li> | |
<?php $i++; endwhile; ?> |
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
<meta name=viewport content="width=device-width, initial-scale=1"> | |
<!-- Recommended viewport tag as per Google: https://developers.google.com/speed/docs/insights/ConfigureViewport?hl=en --> |
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
.fadeinDown { | |
-webkit-animation: fadeInDown 500ms ease-in-out; /* Chrome, Safari, Opera */ | |
animation: fadeInDown 500ms ease-in-out; | |
} | |
/* Chrome, Safari, Opera */ | |
@-webkit-keyframes fadeInDown { | |
0% { |
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
// lines on other side of a heading | |
// without using extra markup or a background color | |
// the css | |
h1 { | |
overflow: hidden; | |
text-align: center; | |
} | |
h1:before, |