How to exclude one (or more) skin(s) when using the “Randomize the skin” option


Note :This snippet works only with the Classical style option. The Classical style option can be enabled in Appearance > Customize > Advanced > Theme Style. More about the theme style option here


Note: This snippet applies to Customizr(free) v3.4.9 (and above) and Customizr-Pro v1.2.6 (and above)

When using the “Randomize the skin” option you might want to exclude some skins to be taken in account.

Say you don’t like the grey based skins you can use the following code to exclude them.

As of now the available skins are:

black.css, black2.css, blue.css, blue2.css, blue3.css, green.css, gree2.css, grey.css, grey2.css, orange.css, orange2.css, purple.css, purple2.css, red.css, red2.css, yellow.css, yellow2.css

You can find them in your theme’s directory under inc/assets/css

or on the github theme repository.

Where to copy/paste this code?
Add it to your child-theme functions.php.
Everything you need to know about creating a child theme with Customizr here.


Related Snippets you may also like


We can help you to implement this snippet

Coding is our job and we know WordPress inside and out. We can help you to customize your website with small chunks of code snippets like this one.

Send us your request and we'll get back to you quickly.



One thought on “How to exclude one (or more) skin(s) when using the “Randomize the skin” option

Comments are closed.