To add the CSS code that defines the formatting rules for your template you must create the file in folder ~/App_Data/Sitefinity/WebsiteTemplates/Hospital/App_Themes/Green/Global under the Sitefinity CMS project. Name the file main.css.
For more information about the folder structure required by Sitefinity CMS, see Overview: Themes. For more information about structuring Telerik Hospital website, see Custom themes and templates: Preparing your work environment.
After adding the file to folder Global, you must define the classes that style the main elements in Telerik Hospital template.
Here is a sample code for customizing the Menu, Header, Logo, Slogan, Main and Footer elements that were defined in
You are not limited to these rules and are free to change them to make your pages look and behave the way you want.
Use the following code to style the navigation menu in the header.
You are not limited to these definitions and can change them to meet your needs.
NOTE: You must add the images that you describe and use in the CSS in folder App_Themes/Green/documentation/images.
After you have defined the styling rules for the elements, you must assign the theme to your template. For more information see Overview: Themes.
The hospital class which you entered in the Wrapper CSS class (skin) field, when you Custom themes and templates: Add and configure the content widgets the navigation control in the template is now appended to the class of the control – RadMenu and the generated CSS selector that you can use is RadMenu_hospital.
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important
Copyright © 2020 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.
Powered by Progress Sitefinity