Change color picker palette in functions.php with my own scheme
-
Hi, before i used astra and with a code entered in functions.php (following the instructions from here: https://www.intelliwolf.com/change-default-colors-in-wordpress-customizer/), i was able to change the color picker colors in wordpress customizer with my own color scheme.
I tried the same in Neve, replacing astra with neve, but it doesnt work:
function ohu_custom_palettes($color_palettes) {
$color_palettes = array(
‘#5752B2’,
‘#BDBAEB’,
‘#3A349E’,
‘#D2F585’,
‘#75A310’,
‘#FF7B5F’,
‘#FFD95F’,
‘#FFF0C1’,
);return $color_palettes;
}add_filter(‘neve_color_palettes’, ‘ohu_custom_palettes’);
// END ENQUEUE PARENT ACTION
What should i do?
Thanks!
- The topic ‘Change color picker palette in functions.php with my own scheme’ is closed to new replies.