Now I have change the font- size for the table in a customer map with adding a styles_custom.css entry:
.customalarms_biggerfont td { font-size: 22px !important; }
And adding the new css class to my mapobject with:
<div class="map_object map_table customalarms_biggerfont" id…
Now the problem is that the line height of the message field in this table is wrong. I already found this setting in the prtg.table.css:
.table .status, .table .logmessage { display: block; max-height: 35px; line-height: 15px; overflow: hidden; text-overflow: ellipsis; position: relative; }
Is it possible to also create a custom style for the message field?
Article Comments
Hello
Thank you for your reply.
Adding:
.logmessage { font-style: italic; }
to styles_custom.css does not work.
Also I only what to change the settings for the message- field in ONE map, not I all maps.
Is this possible?
For me it is not why PRTG use px settings instead of % settings in the prtg.table.css.
May, 2017 - Permalink
There is a unique identification for individual maps, which happens trough this property:
id="mapelement_21180_2"
Where 21180 will match the MAPID (visible in the URL of the public map(public/mapshow.htm?id=21180&)). This is unique per map on a single PRTG instance. You could use this to create a selector in your CSS.
Best Regards,
Luciano Lingnau [Paessler Support]
May, 2017 - Permalink
Hello there, thank you for your post.
Yes, your styles_custom.css file will be proceesed to, so you can do something like this:
However, I do advise against your modification(s) of the prtg.table.css, this will be overwritten in updates, you should only modify the styles_custom.css file.
Best Regards,
Luciano Lingnau [Paessler Support]
May, 2017 - Permalink