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
// Colors | |
$black: #000; | |
$white: #fff; | |
$base_text_color: lighten($black, 33); | |
$base_link_color: #578300; | |
$base_link_color_hover: darken(#5a4a42, 5); | |
$base_color: darken(#77a340, 5); | |
$heading_color: darken(#5a4a42, 5); | |
$background_color: whitesmoke; |
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
// Filter the site title wrap tag if using front page and static home and blog page | |
// and not using the blog template - correct issue with Genesis 2.2.3 | |
add_filter('genesis_site_title_wrap','sjd_filter_site_title'); | |
function sjd_filter_site_title( $wrap ) { | |
//* Wrap homepage site description in h1 tags if static front page | |
return is_front_page() && ! is_home() ? 'h1' : $wrap; | |
} |
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 | |
//* Do NOT include the opening php tag | |
// Force Sorting on the archive profiles page defaults to random up to 999 per page. | |
add_action( 'pre_get_posts', 'aeprofiles_change_sort_order_extended_custom', 20 ); | |
function aeprofiles_change_sort_order_extended_custom( $query ) { | |
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
.home .search-bar { | |
padding-top: 350px; | |
} | |
@media only screen and (max-width: 1023px) { | |
.home .search-bar { | |
padding-top: 250px; | |
} | |
} |
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 | |
//* Do NOT include the opening php tag | |
// Adds a Widget link to the Toolbar | |
add_action( 'admin_bar_menu', 'toolbar_link_to_widget_page', 999 ); | |
function toolbar_link_to_widget_page( $wp_admin_bar ) { | |
$args = array( | |
'id' => 'my_widget_page', | |
'title' => 'My Widgets', | |
'href' => '/wp-admin/widgets.php', |
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
.home-featured-1, | |
.home-featured-2, | |
.home-featured-3, | |
.home-listings .featured-listings .entry { | |
float: left; | |
margin-bottom: 0; | |
margin-right: 60px; | |
min-height: 140px; | |
text-align: center; | |
width: 340px; |
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
/* An example of how you can style each word */ | |
/* Uncomment this if you want to remove the space between words | |
* | |
.site-title { | |
font-size: 0; | |
} | |
*/ | |
/* Font size for all the span tags */ |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
/* AgentPress Listings | |
--------------------------------------------- */ | |
.home .listing-wrap:hover .listing-text, | |
.home .listing-wrap:hover .listing-price, | |
.home .listing-wrap:hover .listing-address, | |
.home .listing-wrap:hover .listing-city-state-zip, | |
.home .listing-wrap:hover .listing-wrap .more-link { | |
display: none; | |
} |
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
.home-welcome .widget-wrap { | |
background-color: rgb(0, 0, 0); | |
background-color: rgba(0, 0, 0, .4); | |
padding: 30px; | |
} |