I would like to know how to ADD colors to the style options for AgentPress 2.0. I tried to add white to the following line in functions.php:
/** Create additional color style options */
add_theme_support( ‘genesis-style-selector’, array( ‘agentpress-gray’ => ‘Gray’, ‘agentpress-green’ => ‘Green’, ‘agentpress-red’ => ‘Red’, ‘agentpress-tan’ => ‘Tan’) );
I added ‘agentpress-white’ => ‘White to the array.’
Then I added a folder named “white” to my images folder. In that folder I place a white color patch named bg.png derived from the default bg.png using my image editor. Another color selection named “White” appeared in my Genesis>Themes dialog, but selecting it set the background color to the default color and not white. But the color patch is clearly white.
Any thoughts on how to do this?
Did you add your color scheme to the Style.css file? Take a look in there for all the other colors and then duplicate for your color.
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.