how to hook CSS file according to theme selection in the customizer section

enter image description here

I have added new section in the Customizer section which allows user to choose whichever theme colors they want.

But I dont know how to active/add CSS files according to the selection.

e.g. add green.css if green theme color is selected

or add blue.css if blue theme color is selected

Read more here:: how to hook CSS file according to theme selection in the customizer section

Leave a Reply

Your email address will not be published. Required fields are marked *