I am building a site using the Lifestyle Pro theme. The demo shows it is available in different colour schemes. I see the option to change the themes colour in the Dashboard >> Genesis >> Theme Settings. I would like to use a custom colour. How would I copy a stylesheet and have it appear in the dasbboard, I would like to be able to easily change the theme in summer and winter.
Durham Web Designer | http://www.durhamwebdesigner.com
I don’t know Lifestyle but other Genesis child theme colors work much the same way. Look in your functions.php file and you’ll see code similar to this found with the Agency theme:
//* Add support for additional color style options add_theme_support( 'genesis-style-selector', array( 'agency-pro-blue' => __( 'Agency Pro Blue', 'agency' ), 'agency-pro-green' => __( 'Agency Pro Green', 'agency' ), 'agency-pro-orange' => __( 'Agency Pro Orange', 'agency' ), 'agency-pro-red' => __( 'Agency Pro Red', 'agency' ), ) );
That creates the option in the admin area. So copy/paste one of those color-related lines into place and rename as you wish. (Always have your site backed up before making changes to your functions.php file. I prefer to work with functions.php locally, then upload so I and simply undo any changes in the event that it breaks my site…that’s a real danger!!)
Then in your style.css file, you’ll find color-related rules grouped together. I’d select a color section, copy/paste into place, then rename the rules to match my functions.php file added listings and style away.
Web Design by Websentia Web Services
You must be logged in to reply to this topic.
Are you a blogger, web designer, developer, or website owner looking to generate more income?
Promote products for the largest and fastest growing online website platform as part of our affiliate program.