Modify Style Sheets

A style sheet and images are part of a theme and define the overall look of the Web site.

You can create a style sheet for a theme by updating a sheet that you used in a previous version of Microsoft Dynamics AX. You can also modify a style sheet that ships in the current version of Microsoft Dynamics AX.

You implement the style sheet by adding it to a theme and applying the theme to a Web site. For more information, see Create Themes.

  1. Export the style sheet by doing the following:

    1. In the Application Object Tree (AOT), expand the Resources node.

    2. Right-click the style sheet that you want to export, click Open, and then click .

    3. Click Save to save the style sheet as a .css file on the computer.

  2. Open the style sheet in a style sheet editor.

  3. Open a Microsoft Sharepoint Portal style sheet.

    The path of the style sheets is <drive N>:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\THEMES\<specific theme>.

  4. In the Microsoft Dynamics AX style sheet, remove obsolete style elements, and then modify the color of style elements to match equivalent elements in the Windows Sharepoint Services style sheet. For more information, see Web Style Sheets.

  5. Save the style sheet changes, and then rename the file to AXEP<SharePoint Portal theme name>.css.

  6. Add the modified style sheet to the AOT by doing the following:

    1. Expand the Web node, and then expand the Web Files node.

    2. Right-click Static Files, and then click Create from File.

    3. Locate the .css file on the computer, and then click Open.

    Microsoft Dynamics AX moves the style sheet to the <drive N>:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\LAYOUTS\EP\stylesheets path.

  1. Export the style sheet by doing the following:

    1. In the AOT, expand the Web node, and then expand the Web Files node.

    2. Expand the Static Files node.

    3. Right-click the style sheet, click Open, and then click .

    4. Click Save to save the style sheet as a .css file on the computer.

  2. Use a style sheet editor to modify the style sheet.

  3. Add the modified style sheet to the AOT by doing the following:

    1. Expand the Web node, and then expand the Web Files node.

    2. Right-click Static Files, and then click Create from File.

    3. Locate the .css file on the computer, and then click Open.

    Microsoft Dynamics AX moves the style sheet to the <drive N>:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\LAYOUTS\EP\stylesheets path.

Community Additions

ADD
Show: