CSSHelper GetThemeCSSUrl Method (String, String, Boolean)Kentico 8.0 API Reference
Gets the URL for the Theme CSS file. Based in ~/App_Themes/[Theme] or ~/App_Themes/Default.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

theme
Type: OnlineSystem String
Stylesheet theme
fileName
Type: OnlineSystem String
Name of the stylesheet file
useOnlySpecifiedTheme
Type: OnlineSystem Boolean
If true, then return the url only for the specified theme, if the file not found return null

Return Value

Type: OnlineString
See Also