Increasing the Microsoft Dynamics GP 10.0 Homepage Font Size

David Meego - Click for blog homepageI was recently asked if it was possible to change the fonts on the Microsoft Dynamics GP 10.0 Homepage.  A customer had asked if they could be made a little bit bigger as they were hard to read at the resolution that the machine was running at.

So I decided to have a quick look to see what was needed. The homepage itself for the current user is stored in the temp folder for that user, for example:

C:\Users\<username>\AppData\Local\Temp\HomePage.xml

This xml file is generated by Dynamics GP depending on the homepage settings in the application. It in turn references the XML Style Sheet (.xsl) file in the Background subfolder of the application installation folder.

C:\Program Files\Microsoft Dynamics\GP\Background\HomePage.xsl

This style sheet file then references the Cascading Style Sheet (.css) file in the same folder. 

C:\Program Files\Microsoft Dynamics\GP\Background\HomePage.css

It is this HomePage.css file which contains the definition for the fonts used on the homepage.

Note: Examples of the already altered files for HomePage.css and PreviewPane.xsl are contained in the attachment at the bottom of this post.

If you wish to make the changes yourself rather than use the files provided.... Then make a copy of this original HomePage.css file and call it HomePage Normal.css.  This is your backup to restore the default settings if necessary.

You can then make a second copy of the file and call it HomePage Big.css. Then open the HomePage Big.css with Notepad.exe and perform a series of find and replaces to change the font sizes by increasing them by 2 points. 

You need to start with the largest font size and work down to the smallest:

Find String  Replace String 
13pt  15pt 
12pt  14pt 
11pt  13pt 
10pt  12pt 
9pt  11pt 
8pt  10pt 

Once the changes are complete and file saved, you can delete the original HomePage.css file and copy HomePage Big.css and rename it as HomePage.css.  To restore, just delete HomePage.css and copy HomePage Normal.css and rename it as HomePage.css.

The AreaPage.xsl file used when displaying the Area Pages also uses the HomePage.css file, so the font changes are applied here as well.

The  PreviewPane.xsl has some font definitions and is used for the preview pane when looking at lists. It can be altered in the same way to produce PreviewPane Normal.xsl and PreviewPane Big.xsl files.

Note: Examples of the already altered files for HomePage.css and PreviewPane.xsl are contained in the attachment at the bottom of this post.

For a related post, Mohammad Daoud has an article which shows how the homepage and be "removed" by replacing it with a logo image if desired:

How to change GP 10.0 Homepage??

Hope you find this useful.

David

Background.zip