<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>Adding colours

[ad_1]

Replies: 1

Hey

I found this code in your faq:

add_filter( 'wpdn_colors', 'wpdn_add_purple' );
function wpdn_add_purple( $colors ) {

$colors['purple'] = '#5236A0';

return $colors;

}

In case I wish to add more than one colour, how do I do that? Do I add a colour line or repeat the entire code block?

I assume changing purple everywhere according to the color is ok?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer