Customize Infopath Forms in SharePoint 2010 changes color theme to default blue (no visual upgrade)
I ran into this one when trying to customize a SharePoint 2010 form using the "Customize Form" button to add some custom colors on an InfoPath form for a SharePoint list. If you perform a visual upgrade in SharePoint 2010 everything works fine. However, if you do not do the visual upgrade, the page does not respect your color theme and reverts to the default "blue" theme. By pressing F12 in Internet Explorer, you can see what is going on: Notice how the core.css file is written out correctly and then overridden by the Obsidian color theme correctly. However, what is happening is that Infopath is adding another reference to core.css after the Obsidian color theme. Lines 7 and 8 of the "View Source" html show the correct order of CSS references with Obsidian after core.css However, InfoPath adds the following reference to core.css which overrides the Obsidian theme on [...]