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() { | |
| }); |
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
| if (!is_admin()) add_action("wp_enqueue_scripts", "my_jquery_enqueue", 11); | |
| function my_jquery_enqueue() { | |
| wp_deregister_script('jquery'); | |
| wp_register_script('jquery', "http" . ($_SERVER['SERVER_PORT'] == 443 ? "s" : "") . "://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js", false, null); | |
| wp_enqueue_script('jquery'); | |
| } |
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
| <script src="<?php get_stylesheet_directory(); ?>/js/my-scripts.js"></script> |
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
| img.thumb { | |
| display: block; | |
| border: solid 4px #fff; | |
| -webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2); | |
| -moz-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2); | |
| box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2); | |
| -webkit-border-radius: 3px; | |
| -moz-border-radius: 3px; | |
| -ms-border-radius: 3px; | |
| -o-border-radius: 3px; |
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
| .button-text { | |
| font-family: HelveticaNeue; | |
| font-size: 14px; | |
| font-weight: bold; | |
| color: #575757; | |
| @include text-shadow(0 1px rgba(255,255,255,.7)); | |
| } | |
| .button-text:active { | |
| color: #f1f5f6; |
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
| <script src="javascripts/jquery-validation/dist/jquery.validate.js"></script> | |
| <script> | |
| // jQuery validate plugin | |
| $(function(){ | |
| $("#quote-form").validate({ | |
| rules: { | |
| name: "required", | |
| email: { | |
| required: true, |
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
| //Validity plugin | |
| <link rel="stylesheet" href="javascripts/validity/jquery.validity.css"> | |
| <script src="javascripts/validity/jquery.validity.js"></script> | |
| <script> | |
| (function($){ | |
| $("#quote-form").validity(function() { | |
| $("#firstname").require("Please provide your full name"); |
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
| # ---------------------------------------------------------------------- | |
| # Gzip compression | |
| # ---------------------------------------------------------------------- | |
| <IfModule mod_deflate.c> | |
| # Force deflate for mangled headers developer.yahoo.com/blogs/ydn/posts/2010/12/pushing-beyond-gzipping/ | |
| <IfModule mod_setenvif.c> | |
| <IfModule mod_headers.c> | |
| SetEnvIfNoCase ^(Accept-EncodXng|X-cept-Encoding|X{15}|~{15}|-{15})$ ^((gzip|deflate)\s*,?\s*)+|[X~-]{4,13}$ HAVE_Accept-Encoding |
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
| # ---------------------------------------------------------------------- | |
| # Expires headers (for better cache control) | |
| # ---------------------------------------------------------------------- | |
| # These are pretty far-future expires headers. | |
| # They assume you control versioning with filename-based cache busting | |
| # Additionally, consider that outdated proxies may miscache | |
| # www.stevesouders.com/blog/2008/08/23/revving-filenames-dont-use-querystring/ | |
| # If you don't use filenames to version, lower the CSS and JS to something like |
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
| <style> | |
| .product-gallery { | |
| overflow: hidden; | |
| position: relative; | |
| height: 560px; | |
| } | |
| #featured-product li { | |
| position: absolute; | |
| top: 0; |