I would like to change the text color of the Tree Map View Now is in white, i would like to put in black

Thanks


Article Comments

Hi there,

We officially do not support the following solution as it may cause issues! Please use with caution!

To change the font-color, put the following code into the "styles_custom_v2.css" on your Core Server under "C:\Program Files (x86)\PRTG Network Monitor\webroot\css\"

.map_object .treemap .cell.device {color: #000 !important;}

The above code changes the color back to black just in the maps. The below code will change this overall:

.treemap .cell.device {color: #000 !important;}



Best regards.


Jan, 2018 - Permalink

Hi, I have the same issue, but in "sizeable icon on status related background",

my version is 18.2.39.1661

Can you Help me Please ?


May, 2018 - Permalink

Hi there,

Please try the following:

.map_object[class*=map_iconcolor_sens] .status, .map_object[class*=map_iconcolor_sens] span {color: #000 !important; text-shadow: none !important; font-size: 22px !important;}
.map_icon_large[class*=map_iconcolor_has] span {color: #000 !important; text-shadow: none !important; font-size: 22px !important;}
.map_object[class*=map_iconcolor_sens], .map_icon_large[class*=map_iconcolor_has] {color: #000 !important; text-shadow: none !important; font-size: 22px !important;}

This will also increase the font-size. If the increased font-size is not needed, just remove the "font-size" parameter.

Best regards.


May, 2018 - Permalink

Hi,

I have version: 18.2.41.1652 We are using PRTG on large monitors and with a simple trick we were able to enlarge font-size for our Treemap, to enhance visibiltity from a distance. Since the change of version some months ago, this was not longer possible. We really, really regretted this.

So, with the help of this thread I was able to change font color of our Treemap items, but I was wondering if there is a way to change font-size for our Treemap items.


Jun, 2018 - Permalink

Hi there,

The above code already increases the font-size to 22px:

...font-size: 22px !important;}

So you can surely change this parameter.

Best Regards.


Jun, 2018 - Permalink

I changed styles_custom_v2.css:

.map_object .treemap .cell.device {
	color: #000 !important;
	font-size: 22px !important;
	}

Different color HEX values are giving a change of color. The font-size does not do anything, unfortunally.


Jun, 2018 - Permalink

Hi there,

Sorry, it was already late. I thought you meant the font-size. :(
But good to see that you figured out the solution.

Best regards.


Jun, 2018 - Permalink

Hi Dariusz,

I can see it was late :-) Unfortunally, I did not figure out a solution. As I wrote in my comment, the example i'm giving does not work. Font color goes well, font-size not.


Jun, 2018 - Permalink

Hi there,

The following should work. ;)

.map_object .treemap .cell.device a {font-size: 22px !important;}



Best regards.


Jun, 2018 - Permalink

Thanks !


Jun, 2018 - Permalink

Hello guys, I'm trying various tips here from the forum to increase the font size on the map, but no options worked out. I tried to edit the "_Prtg.ObjectTree.Sunburst.Plugin" file the "fontsize" parameter. If I put any number in px (for example 1px) the font gets too large. If I leave with nothing, as occurs in the installation, the source is very small. Either it gets too big or it gets too small. I can not adjust to a good size. Can you help me? Thank you.


Apr, 2019 - Permalink

Hi there,

Unfortunately, we (the Support) can't offer any more guidance:
https://helpdesk.paessler.com/en/support/solutions/articles/76000065319-what-is-your-position-towards-customizing-prtg

Just keep in mind that a restart of the Core Service might be necessary as almost all web-files are cached server-side.

Best regards.


Apr, 2019 - Permalink