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', get_template_directory_uri() . '/js/jquery.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
img { | |
max-width: 100%; | |
height: auto; | |
} | |
/* conditionaly add support for IE 6 and IE 7 | |
width: 100% | |
*/ |
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
/* PX to EM conversion | |
example: font-size: em(30); | |
*/ | |
@function em($target, $context: 16) { | |
@return ($target / $context) * 1em; | |
} |
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 queries for iPhone 3+4 portrait & iPhone 5 portrait */ | |
@media only screen and (min-device-width:241px) and (max-device-width:320px) { | |
} | |
/* Media queries for Android (Samsung Galaxy) portrait */ | |
@media only screen and (min-device-width:321px) and (max-device-width:380px) { | |
} |
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
<title><?php bloginfo('name'); ?> » <?php is_front_page() ? bloginfo('description') : wp_title(''); ?></title> |
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 id="noFlash"> | |
<p>To experience our Strong application, you will need to download Flash 10.</p> | |
<a class='hdr hdr-download_flash' href='http://get.adobe.com/flashplayer'>Download Flash 10</a> | |
</div> | |
// or | |
<div id="containerId"> | |
<a href="http://www.adobe.com/go/getflashplayer"> | |
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /> |
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 QUERIES | |
*********************/ | |
@media screen and (min-width: 100px) and (max-width: 760px) { | |
.grid_1,.grid_2,.grid_3,.grid_4,.grid_5,.grid_6,.grid_7,.grid_8,.grid_9,.grid_10,.grid_11,.grid_12{margin-left:10px;margin-right:10px}.alpha,.omega{margin-left:0;margin-right:0}.align_center,.align_right{text-align:left} | |
.footer-right ul { | |
margin: 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
<?php if ( has_post_thumbnail() ) { | |
the_post_thumbnail(); | |
} else { ?> | |
<img src="<?php bloginfo('template_directory'); ?>/images/default-image.jpg" alt="<?php the_title(); ?>" /> | |
<?php } ?> |
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
//HTML MARKUP | |
<a href="#services">Jump to services</a> | |
<div id="services"> | |
</div> | |
//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
a, a > * { | |
transition: color 0.4s ease 0s, background-color 0.4s ease 0s, border 0.4s ease 0s, opacity 0.4s ease-in-out 0s; | |
} |