wairoa 0 Report post Posted October 23, 2010 Currently we get red, blue, green, black, orange css color options. I would like to keep all these colors, but also ADD purple, grey, and (shocking) pink. For purple, for example, I have: 1. Created a new style template color_purple.css and saved to ecopro_dev > pro > css folder. 2. I have added code to the dynamic_css.php file at ecopro_dev > library. I added: ` if ( file_exists( PAGELINES_PRO . '/css/color_purple.css') && pagelines('colorscheme', $pagelines_ID) == 'purple' ) { wp_register_style('purple-scheme', PRO_CSS . '/color_purple.css'); wp_enqueue_style( 'purple-scheme'); } ` QUESTION: What else must I do to get the Purple color option to be selectable from the Edit Post page under "Select Sidebar (optional)"? Thanks Share this post Link to post Share on other sites
Andrew 207 Report post Posted October 24, 2010 hmm... well this could be a little bit of work; but interesting idea. You'd first need to create the colors needed for these color schemes, and add the option for them.. Not to hard, if you're dedicated. Up for it? Share this post Link to post Share on other sites
wairoa 0 Report post Posted October 24, 2010 Hi Andrew, yep, I'm up for it. I have mostly dropped the background graphics, so I shouldn't need to mess around with image preparation. The site I'm putting together is here: http://travelscoop.co.nz/ Share this post Link to post Share on other sites
wairoa 0 Report post Posted October 24, 2010 Andrew, picking up from your "add the option" clue, I've now added the "purple" option to config-options.php in ecopro_dev > config folder, as follows: ` 'global_options' => array( 'colorscheme' => array( 'version' => 'pro', 'default' => 'green', 'type' => 'radio', 'selectvalues' => array( 'green' => 'Green Color Scheme', 'blue'=>'Blue Color Scheme', 'black' => 'Black Color Scheme', 'orange' => 'Orange Color Scheme', 'purple' => 'Purple Color Scheme', 'red' => 'Red Color Scheme' ), ` And now I have the "purple" color selectable from the EcoPro ?» Theme Options page within Wordpress backend. And it works too, I can now select "Purple" as the default color style! Now I also want to be able to select the new color(s) from the Add/Modify Posts/Pages so I can spot-color postings on a whim, like: http://travelscoop.co.nz/?p=7644 and http://travelscoop.co.nz/?p=7733 Thanks. I'll keep hunting, but if you can provide a heads-up that's be great! Thanks. Share this post Link to post Share on other sites
wairoa 0 Report post Posted October 24, 2010 Woo hoo! Got it! http://travelscoop.co.nz/?p=7631 The final piece of the puzzle was to add the "purple" color to config_page_post.php in ecopro_dev > config folder. like so: ` 'colorscheme' => array( 'version' => 'pro', 'type' => 'select', 'selectvalues'=> array( 'green'=> 'Green', 'black' => 'Black', 'blue' => 'Blue', 'orange' => 'Orange', 'red' => 'Red', 'purple' => 'Purple', ),' Voila! Share this post Link to post Share on other sites