can i still customize the font size with? no matter what i do the font size do not change.

i have tried this: https://helpdesk.paessler.com/en/support/solutions/articles/2223-how-do-i-increase-the-font-size-of-a-table-in-prtg-s-maps#reply-212021

and I have created a copy of the object and alter the font size direkt in the style part, nothing happens.


Article Comments

Hi Timo,

Unfortunately, we can't provide support when it comes to customizing any component of the webinterface, including map objects. The following CSS, applied to

<app directory>\webroot\css\styles_custom_v2.css

...should do the trick:

.map_object form .table td,
.map_object .table td,
.map_object .table th,
.map_object .table td.col-message .status,
.map_object .table td.col-message .logmessage {font-size: 16px !important;}

Make sure to force-refresh your browser afterwards.


PRTG Scheduler | PRTGapi | Feature Requests | WMI Issues | SNMP Issues

Kind regards,
Stephan Linke, Tech Support Team


Jan, 2019 - Permalink

Hi Stephan,

is there a supported way to alter the font size of a single Table?

.should do the trick:

.map_object form .table td,
.map_object .table td,
.map_object .table th,
.map_object .table td.col-message .status,
.map_object .table td.col-message .logmessage {font-size: 16px !important;}

If I understand this correct, this should change the font size of every table. I have tested this but again nothing happens, Do I have to reboot the server or somting else? I only want to change the font size of 1 Table on one Map.

kind regards

Timo


Jan, 2019 - Permalink

Rebooting the PRTG Core Service is necessary in this one, yep. Sorry, I should've mentioned that. Additionally, this will indeed change all tables, you'd need to modify the CSS selector to only apply to the CSS ID after adding it to the map.


PRTG Scheduler | PRTGapi | Feature Requests | WMI Issues | SNMP Issues

Kind regards,
Stephan Linke, Tech Support Team


Jan, 2019 - Permalink

Hi Stephan,

sorry for asking but the topic is matching our scenario. We'd already changed the font-size of our maps by using the code you've mentioned. As Timo mentioned this changed the font-size for every map. I'd tried to figured out what is ment by CSS selectors (for just adjusting the font-size of specific maps), but I think therefore my CSS is to bad. Can you maybe say one or two words about CSS selectors and how to put them/us them in the custom.css?

Another question, but with the same target: is there a way to use a dynamic font-size variable to get a scaling regarding the screensolution or maybe procentage?

Thanks a lot.

Kind regards, Dominik


Mar, 2019 - Permalink

Dariusz is already helping out over in Easily rescale the font size of maps, I guess? Did you restart the Core Server service already to have the changes loaded? Regarding the selector, when you right click the element in the browser and hit "Inspect", you can right click the HTML object (e.g. <a href ...>) and copy the Selector under Copy | Selector :)

The following video shows how to do it: https://www.youtube.com/watch?v=V2aAEzlvyDc


PRTGapi | Feature Requests | WMI Issues | SNMP Issues

Kind regards,
Stephan Linke, Tech Support Team


Mar, 2019 - Permalink