Support Center

Create & Apply Custom Themes

It's easy to create your own themes with basic HTML & CSS knowledge. We'll be happy to create a theme for you under our Premium Support option as well. Although you can create a new theme from scratch, it's almost always easier to copy an existing theme and modify it. Live Exchange themes are located at /DesktopModules/LiveExchange/Themes and each folder represents a seperate theme.

Step 1:

Copy an existing theme folder (such as Default) and rename it to MyTheme.

Important: The final step to ensure that you're newly created theme works is to edit the style.css located at /DesktopModules/LiveExchange/Themes/MyTheme/Style/Style.css and ensure that all css declarations begin with .lemytheme

You must inherit all IDs, Classes, any other CSS Tags in your newly created Style.css from class .mytheme(where this is your new theme name in lowercase)

Example:

1
2
3
4
5
.leqa.ms-container {
                background: white;
                padding: 25px;
                border-radius: 5px;
}

The above markup would change to:

1
2
3
4
5
.mytheme.ms-container{
                background: white;
                padding: 25px;
                border-radius: 5px;
}

My Theme

Step 2:

Update "leqa" class with "mytheme" in the following templates:

/DesktopModules/LiveExchange/Themes/MyTheme/Templates/Site/

  • HomePage.cshtml
  • Question.cshtml
  • SearchResult.cshtml
  • Tags.cshtml

Step 3:

We can now select the new theme from Manage > Administrator > Theme

My Theme

Glad we could be helpful. Thanks for the feedback.

Sorry we couldn't be helpful. Your feedback will help us improve this article.

How helpful was this page?

  
Updated on Fri, 27 Oct 2017 by Ashish Pachori