0

I have a SharePoint add-in and some custom web parts. The problem is that I want these web parts to be themable.. Is that possible?

0

You can create few style sheets(css) files for the webparts and swap them using some controls like dropdown or choice buttons.

you can write a javascript code to create these controls and use this code inside content editor webpart besides your custom webpart

Reference

1
  • I cannot make a css file for every theme in SharePoint out there. Thanks for your reply anyways.
    – Dave
    Sep 14 '16 at 2:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.