[Resolved] still possible?

Home Forums Support still possible?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #849361
    sparkle

    i’m trying to set my site-wide color palette using this code, which has worked in the past.

    add_filter( 'generate_default_color_palettes', 'tu_custom_color_palettes' );
    function tu_custom_color_palettes( $palettes ) {
    	$palettes = array(
    		'#000000',
    		'#FFFFFF',
    		'#F1C40F',
    		'#E74C3C',
    		'#1ABC9C',
    		'#1e72bd',
    		'#8E44AD',
    		'#00CC77',
    	);
    	
    	return $palettes;
    }

    is this still a valid way to set the colors?

    GeneratePress 2.2.2
    GP Premium 1.7.8
    #849364
    sparkle

    also, in the past i’ve just put this in my functions file with my color choices. this doesn’t seem to be working this way any more.

    #849368
    sparkle

    oh NEVERMIND. it’s working now. not sure why it didn’t on the first 10 saves. lol

    #849371
    David
    Staff
    Customer Support

    No problems. Glad you got it resolved.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.