Skip to content

Instantly share code, notes, and snippets.

@cdils
Last active April 16, 2019 02:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cdils/9465783 to your computer and use it in GitHub Desktop.
Save cdils/9465783 to your computer and use it in GitHub Desktop.
Add support for additional color styles for Winning Agent Pro theme
/* Blue/Green
--------------------------------------------- */
.wap-blue .home-listings {
background-color: #e6e6e6;
}
.wap-blue .wap-community.entry img {
border: 10px solid #3d4d6d;
}
.wap-blue .wap-community.entry img:hover {
border: 10px solid #339933;
}
.wap-blue button:hover,
.wap-blue input:hover[type="button"],
.wap-blue input:hover[type="reset"],
.wap-blue input:hover[type="submit"],
.wap-blue .button:hover,
.wap-blue .entry-content .button:hover,
.wap-blue .site-header {
background-color: #3d4d6d;
color: #fff;
}
.wap-blue button,
.wap-blue input[type="button"],
.wap-blue input[type="reset"],
.wap-blue input[type="submit"],
.wap-blue .button,
.wap-blue .entry-content .button,
.wap-blue .home .listing-wrap > a:first-child,
.wap-blue .home-featured .featuredpage .widget-wrap,
.wap-blue .sidebar .featuredpage .widget-wrap,
.wap-blue .nav-primary,
.wap-blue .site-footer {
background-color: #273249;
color: #fff;
}
.wap-blue body,
.wap-blue .sidebar .widget-title a {
color: #3d4d6d;
}
.wap-blue a,
.wap-blue .custom-title,
.wap-blue .entry-title a:hover,
.wap-blue .genesis-nav-menu a:hover {
color: #339933;
}
.wap-blue .genesis-nav-menu .sub-menu a:hover,
.wap-blue .search-bar .wrap,
.wap-blue .footer-widgets {
background-color: #339933;
}
.wap-blue .home-featured .featuredpage .widget-title,
.wap-blue .sidebar .featuredpage .widget-title {
border-bottom: 3px solid #339933;
border-top: 3px solid #339933;
}
.wap-blue .archive-pagination li a:hover,
.wap-blue .archive-pagination li.active a {
border: 1px solid #339933;
}
.wap-blue a:hover,
.wap-blue h1,
.wap-blue h2,
.wap-blue h3,
.wap-blue h4,
.wap-blue h5,
.wap-blue h6,
.wap-blue .footer-widgets a,
.wap-blue .footer-widgets .widget-title,
.wap-blue .entry-title a {
color: #273249;
}
.wap-blue .genesis-nav-menu a,
.wap-blue .site-title a,
.wap-blue .site-title a:hover,
.wap-blue .search-bar .wrap,
.wap-blue .footer-widgets a,
.wap-blue .site-footer a:hover {
color: #fff;
}
.wap-blue .genesis-nav-menu .sub-menu a {
background-color: #3d4d6d;
border: 1px solid #273249;
border-top: none;
color: #fff;
}
.wap-blue .site-header .sub-menu {
border-top: 1px solid #273249;
}
.wap-blue .site-footer,
.wap-blue .site-footer a {
color: #6d7891;
}
.wap-blue .property-details,
.wap-blue .author-box,
.wap-blue .archive-description,
.wap-blue .sidebar .enews-widget {
background-color: #d8dbe2;
}
<?php //remove this entire line
// Add support for additional color style options
add_theme_support( 'genesis-style-selector', array(
'wap-blue' => __( 'Winning Agent Pro Blue/Green', 'wap' ),
'wap-red' => __( 'Winning Agent Pro Red/Gray', 'wap' ),
'wap-orange' => __( 'Winning Agent Pro White/Orange', 'wap' ),
'wap-custom' => __( 'Winning Agent Pro Custom Colors', 'wap' ),
) );
<?php //remove this entire line
// Add support for additional color style options
add_theme_support( 'genesis-style-selector', array(
'wap-blue' => __( 'Winning Agent Pro Blue/Green', 'wap' ),
'wap-red' => __( 'Winning Agent Pro Red/Gray', 'wap' ),
'wap-orange' => __( 'Winning Agent Pro White/Orange', 'wap' ),
) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment