[Resolved] Default colours

Home Forums Support Default colours

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #352245

    I have tried entering the following in functions.php, using a child theme of GP.

    add_filter( ‘generate_default_color_palettes’, ‘dr_custom_color_palettes’ );
    function dr_custom_color_palettes( $palettes ) {
    $palettes = array(

    return $palettes;

    Nothing happens to the existing default colours.
    Can you please point me in the right direction for hooks/filters?

    GeneratePress 1.3.48
    GP Premium 1.3.1
    Lead Developer
    Lead Developer

    What that will do is change the palette colors inside the Customizer when opening the color picker.

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