MicroStrategy ONE
Changing the Color of the Bars at the Top
In this customization scenario, you change the color of the top horizontal bars and apply the customization to all the pages of MicroStrategy Web. This customization does not use the color themes provided by MicroStrategy; instead it modifies only the relevant CSS file. The two bars are the header and path page sections so this customization modifies the selectors responsible for assigning color values to these page sections.
Before customization:
After customization:
This customization can be accomplished using either of the following methods:
Deploying the plug-in provided with MicroStrategy SDK
MicroStrategy SDK provides a plug-in (ZIP file) that can simply be extracted to the plugins folder to view the customization in MicroStrategy Web. The following steps guide you in locating the plug-in and deploying it.
-
Access the plug-in: JSP version or ASP .NET version.
-
Extract the plug-in to the plugins subfolder inside the MicroStrategy Web installation folder.
-
Launch MicroStrategy Web to view the customization.
Using the Web Customization Editor to create a plug-in
MicroStrategy SDK provides a Web Customization Editor that can be used to create a customization plug-in. The following steps guide you in creating the plug-in and deploying it.
-
Click on CSS inside the CSS Settings view to expand the hierarchical tree. The expanded list comprises the different CSS files used in MicroStrategy Web.
-
Navigate to MicroStrategy Web Styles->style->mstr.
-
Click on mstr.css to expand the selectors defined within this CSS file.
-
Right-click on .mstrHeader and select New Property.
-
Enter background and #996633 !important in the Property and Value text fields respectively. Note the use of !important to override other definitions for the .mstrHeader property available in the MicroStrategy Web color themes.
-
Make sure the Apply to All Pages radio button is selected, and click OK. The new background property gets added under the .mstrHeader selector inside a newly created CSS file. global.css, under CSS->Customized Web Styles->style.
-
-
Right-click global.css (under CSS->Customized Web Styles->style) and select New Selector.
-
Enter .mstrPath in the text field for Selector.
-
Make sure the Apply to All Pages radio button is selected, and click OK.
-
-
Right-click .mstrPath and select New Property. :
-
Enter background and #996633 !important in the Property and Value text fields respectively. Note the use of !important to override other definitions for the .mstrPath property available in the MicroStrategy Web color themes.
-
Make sure the Apply to All Pages radio button is selected, and click OK.
-
-
Launch MicroStrategy Web and view the customization.
See Also