Try our conversational search powered by Generative AI!

Error using your own themes

Vote:
 
If you get the error: "Using themed css files requires a header control on the page" Open /ui/edit/switchlanguage.aspx and set the Theme to blank: <%@ page language="c#" codebehind="SwitchLanguage.aspx.cs" autoeventwireup="False" inherits="EPiServer.UI.Edit.SwitchLanguage" theme="" %> This happens when you use a theme on your site, and specify the theme in the element in web.config. This will enforce the theme on all the parts of the web site, even though edit and admin will use its own. /Steve
#15652
Apr 16, 2007 8:04
Vote:
 
Actually, there are more than one file with this error. As a work around, change the theme for the UI directory in web.config to use a "blank" theme: There are problems with the right click menu, and probably other areas too when you use your own theme. But this workaround will at least get you past the crashes. /Steve
#16060
Apr 16, 2007 9:56
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.