Themes not working with VLWeb pages
Themes not working with VLWeb pages
I have set a default theme for my VLWeb project. The theme uses a particular color scheme. When I set elements of the web page to their appropriate ThemeDrawStyle, they change (both brushes and fonts) in the editor. but when I go to run the web pages, the fonts are set correctly, but the colors remain a default gray. I have checked in the Theme as well as all the reusable parts and web pages. What am i doing wrong?
- Attachments
-
- web page running - no color on Heading Fonts.jpg (29.82 KiB) Viewed 5665 times
-
- web page in designer - see colors.jpg (137.99 KiB) Viewed 5665 times
- Stewart Marshall
- Posts: 417
- Joined: Thu Nov 05, 2015 5:25 pm
Re: Themes not working with VLWeb pages
I can see that you've set up the editor to use the Theme, but this only allows the editor show everything with that Theme. This feature exists so that reusable parts can appear correctly at design time.
For runtime, you still need to apply the Theme to the WebPage, and of course, you need to make sure the Theme is compiled.
For runtime, you still need to apply the Theme to the WebPage, and of course, you need to make sure the Theme is compiled.