Modifying Existing Color choices or adding additional color choices?

Homepage Community Forums Epik Theme Support Modifying Existing Color choices or adding additional color choices?

Tagged: 

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #14946
    gtdriski
    Customer

      Hello,

      My client would like to have a “Yellow” theme color choice. What would be the best way to handle this? I know I could edit the color values for one of the existing colors in the Stylesheet, but I imagine I couldn’t change the color “Name” in the stylesheet (black, green, etc.). What about adding an additional color option? Certainly, I could add another color section in the stylesheet, but would I have to modify the PHP to get the theme to recognize it?

      Any advice would be appreciated.

      Thanks, Gary

      #14951
      Eric
      Customer

        Hi Gary,

        Yes you could go either route. Personally, I would just create my own Color Scheme manually.

        Yes, if you want to add your own Custom Color Scheme then you would have to edit your PHP file. So if you’re going to do so, make sure you know what you’re doing, or at least use FTP while editing your files just in case you make a mistake (using FTP and an external HTML/CSS/PHP editor will allow you to fix mistakes by clicking your “undo” option inside the program)……if you don’t use this, and you use WordPress itself, then if you make a mistake the error will prevent you from being able to access your WP admin, and pretty much everything else beyond FTP (so please use FTP if you can).

        You can look at the functions.php file and see the other color schemes and copy/paste the way they are setup.

        It should look something like this for the functions file –

        // Create additional color style options
        add_theme_support( 'genesis-style-selector', array( 
        	'epik-black' 		=>	__( 'Black', 'epik' ),	
        	'epik-blue' 		=>	__( 'Blue', 'epik' ),
        	'epik-darkblue'		=>	__( 'Dark Blue', 'epik' ),
        	'epik-gray' 		=> 	__( 'Gray', 'epik' ),	
        	'epik-green' 		=> 	__( 'Green', 'epik' ),
        	'epik-orange' 		=> 	__( 'Orange', 'epik' ), 
        	'epik-pink' 		=> 	__( 'Pink', 'epik' ),
        	'epik-purple' 		=> 	__( 'Purple', 'epik' ), 
        	'epik-red' 		=> 	__( 'Red', 'epik' ),	 
        ) );

        So simply copy/paste one of the color/lines and replace it with the custom color you want.

        Next, you’ll need to look at the theme color section of the CSS file (somewhere near the bottom, right before the Responsive section). If you’re already familiar with CSS and how it works, then it should be self explanatory and easy to customize.


        I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

        #14953
        gtdriski
        Customer

          Eric,

          Thanks for the very helpful information. I’m a bit anal about these things so I always back backup copies of files, before I edit theme.

          Thanks, again.

          Gary

        Viewing 3 posts - 1 through 3 (of 3 total)
        • The topic ‘Modifying Existing Color choices or adding additional color choices?’ is closed to new replies.