Changing Bootstrap theme?

Is it possible to change the theme used by Bootstrap for Anvil apps? For example, if I wanted to use one of the themes provided by Bootswatch: https://bootswatch.com/

I’m integrating Anvil forms with a static site. I’m using a static site generator that also uses Bootstrap, so I’m looking to get some measure of integration in the visual style between the static site and the Anvil forms.

I think you’ll need to copy one of these stylesheets into a file in Assets, then tinker for a while to get it right. Anvil uses bootstrap as a base, but a certain amount of the styling is customised on top - not just what’s in theme.css, but also in the Anvil runtime.

On the Business plan, we will create a template from your house style for you as part of the service. :slight_smile:

Can we get a feature request then for being able to easily switch themes?

In the meantime I’ll try to copy and tinker, although CSS is most definitely not my area of expertise.

A few others requested a theme switching feature when we introduced the Material Design theme:

So I’ll consider you a +1 for that (any others who want to express an interest, do let us know!)

5 Likes