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
<!-- Gravity Forms Column Breakpoint, for breaking the ul and creating a second one in the middle of the form --> | |
</li> | |
</ul> | |
<ul class="gform_fields top_label description_below"> |
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
/* CSS Calc combine percentage width with pixels | |
http://stackoverflow.com/questions/11117216/css-width-calc100-100px-alternative-using-jquery | |
http://css-tricks.com/a-couple-of-use-cases-for-calc/ | |
*/ | |
.interior .faq h2:hover:before { | |
width: calc(100% + -7px); | |
} |
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
// create Wordpress admin account through FTP | |
//http://forrst.com/posts/Create_New_Admin_Account_in_WordPress_via_FTP-NOF | |
function add_admin_acct(){ | |
$login = 'myacct1'; | |
$passw = 'mypass1'; | |
$email = 'myacct1@mydomain.com'; | |
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 | |
// http://stackoverflow.com/questions/4795385/how-do-you-use-bcrypt-for-hashing-passwords-in-php | |
require_once 'lib/password.php'; | |
$password = "12345"; | |
$hash = password_hash($password, PASSWORD_BCRYPT); |
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 Yoast wp seo score title that's shown on the WP admin edit pages | |
add_action('admin_head', 'remove_wp_seo_score_title'); | |
function remove_wp_seo_score_title() { | |
echo '<style> | |
.misc-pub-section .wpseo-score-title { | |
display: none; | |
} | |
</style>'; | |
} |
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
/*http://css-tricks.com/numbering-in-style/*/ | |
.interior ol { | |
counter-reset: my-badass-counter; | |
list-style: none; | |
} | |
.interior ol li { | |
position: relative; | |
padding: 0 0 0 10px; |
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
// The HTML Markup | |
<div class="container"> | |
<div class="row"> | |
<div class="col-sm-4 text-center"> | |
<a href="images/space.jpg" data-toggle="modal" data-target=".testing"> | |
<img src="images/space-resized.jpg" alt=""> | |
</a> | |
</div> | |
<div class="col-sm-4 text-center"> |
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
// Gravity Forms validation errors styling CSS | |
.validation_message { | |
font: 12px/1.5em 'Raleway', Arial, sans-serif; | |
color: #E70F20; | |
} | |
.validation_error, | |
.gform_confirmation_message { | |
text-align: center; |
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
// 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, |
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
.fadeinDown { | |
-webkit-animation: fadeInDown 500ms ease-in-out; /* Chrome, Safari, Opera */ | |
animation: fadeInDown 500ms ease-in-out; | |
} | |
/* Chrome, Safari, Opera */ | |
@-webkit-keyframes fadeInDown { | |
0% { |
OlderNewer