What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

How do I increase the font size of a table in PRTG's Maps?

Votes:

0

I created a map that includes the alarms for a group of devices and I am embedding the iFrame into a different web page. But the font size is so small on the table, it is difficult to read. I tried looking through the CSS files, but didn't see anything that jumped out at me in terms of what I could increase there to make the font bigger. How can I make the font bigger by several sizes?

alarms font maps prtg size

Created on Mar 10, 2010 7:11:21 PM

Last change on Mar 16, 2010 8:09:33 AM by  Daniel Zobel [Product Manager]



Best Answer

Accepted Answer

Votes:

0

It is possible to add the font size directly to a map object. You find all map objects in the \webroot\mapobjects subfolder of your PRTG directory. Open the desired map object with an editor and add the font to the style statement, for example:

<div class="top10listcontainer" style="overflow:hidden;font-size:24px">

Save the adjusted html code as a custom map object (as an extra html file) in the \mapobjects folder so that PRTG does not overwrite it. Then you can use this object in your maps.

See also How can I add or edit map objects used for PRTG's maps?

Note: It is not possible to change the font size for a Sunburst map object because it is already adaptive.

Created on Oct 14, 2014 9:52:58 AM by  Gerald Schoch [Paessler Support]

Last change on Oct 14, 2014 9:56:15 AM by  Gerald Schoch [Paessler Support]



19 Replies

Votes:

2

First, you can add your own CSS statements using the technique described here:

How can I re-brand and customize the PRTG web interface using CSS?

I guess the CSS rule you need to change is:

.top10listcontainer td,.top10listcontainer th,
.top10listcontainer td div,.top10listcontainer th div
{
	font-size:9px;
}

Add this code to your custom css as described above and enter the font size you need.

Created on Mar 11, 2010 9:37:04 AM by  Dirk Paessler [Founder Paessler AG] (11,025) 3 6



Votes:

0

Hi!

Is there any documentation on how to resize other objects like "sensors in status error"-tables?

Best wishes

Created on Jul 4, 2012 12:32:28 PM



Votes:

0

This should be possible as mentioned in the port provided above. You would have to place the information in the webroot/css/styles_custom.css file.

Created on May 7, 2013 9:47:08 AM by  Patrick Hutter [Paessler Support] (7,225) 3 3



Accepted Answer

Votes:

0

It is possible to add the font size directly to a map object. You find all map objects in the \webroot\mapobjects subfolder of your PRTG directory. Open the desired map object with an editor and add the font to the style statement, for example:

<div class="top10listcontainer" style="overflow:hidden;font-size:24px">

Save the adjusted html code as a custom map object (as an extra html file) in the \mapobjects folder so that PRTG does not overwrite it. Then you can use this object in your maps.

See also How can I add or edit map objects used for PRTG's maps?

Note: It is not possible to change the font size for a Sunburst map object because it is already adaptive.

Created on Oct 14, 2014 9:52:58 AM by  Gerald Schoch [Paessler Support]

Last change on Oct 14, 2014 9:56:15 AM by  Gerald Schoch [Paessler Support]



Votes:

0

Hi,

for some reason doing what Mr. Schoch wrote only changes the font-size of the header-row for me. Do you have any clue for me as to why I cannot change the font-size of the data-containing rows? For your information I am trying to change the style of the Table Object "Channels of a sensor." I also tried using the .css to change it but got the same results. I thank you very much in advance and hope someone here can shed a light on my problem!

Best wishes, Stadt-AB

Created on Jun 25, 2015 8:25:26 AM



Votes:

0

Hi there,

You can change the <installation folder>\webroot\css\styles_custom.css and for example add

.customalarms_biggerfont td {
    font-size: 30px !important;
}

Afterwards create a new map object, and add the new css class in the second line of the object. For the Alarm Table, the object might look like this:

<!--Data Tables: Custom Alarms-->

<div class="map_object map_table customalarms_biggerfont" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="overflow:auto;<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">">
  <#mapobject type="objectgrip" mode="<@editmode>">
  <#mapobject type="htmlbefore" subid="<@subid>">
  <#checkobjecttype objecttype="probenode,group,device" nicemessage="true" id="<@objectid>">

  <div class="maptablecontainer" style="overflow:hidden">
    <#lang key="html.mapobjects.tablea0.tabletitle" default="Alarms (@@@@)" var="tabletitle">
    <#table tableid="sensortable"
    id="<@objectid>"
    content="sensors"
    columns="downtimesince,sensor,status,lastvalue,probegroupdevice,message"
    sortby="downtimesince"
    infoheader="false"
    links="false"
    sortable="false"
    varexpand="tabletitle"
    tabletitle="@tabletitle"
    filter_tags="@tag(<@tagfilterstring>)"
    filter_status="5"
    filter_status="4"
    filter_status="10"
    filter_status="13"
    filter_status="14"
    >
  </div>
  <#mapobject type="htmlafter" subid="<@subid>">
</div>

Store this object in the directory <installation folder>\webroot\mapobjects

Please note, that you might need to clear the browser cache for those changes.

Best regards

Created on Jun 25, 2015 8:50:34 AM by  Felix Saure [Paessler Support]



Votes:

0

Hi Felix,

thank you so much! Everything works as expected the way you showed me. And it is very practical, too!

Best regards

Created on Jun 25, 2015 9:04:19 AM



Votes:

0

I'm trying to achieve the same thing as the OP.

I've tried the suggestions above, filled in the (many) gaps as best I can. However this still isn't working.

Instead of making the Sensor icons larger, all it does is make the spacing between them greater and the sensor icons stay the same size. I'm putting the CSS into 'styles_custom.css', modified the name of the map_icon_large to map_icon_xxxxl in my mabobject and in CSS.

Any suggestions?

Created on Jan 29, 2016 5:42:39 AM



Votes:

0

@psullivan: The size of the icons cannot be changed. They are fixed size files. You would have to edit the files themselves and scale up the icons. As those are used system wide I would strongly recommend not doing this as it might break the whole layout of PRTG.

Created on Jan 29, 2016 1:45:01 PM by  Konstantin Wolff [Paessler Support]



Votes:

0

Kind of an old topic. Bu I tried the exact same thing. The suggestion from Felix worked for me. I created an entry in the custom css, and the HTML file, and i worked. I now have font 30px. But now the message columns looks all wrong. It tries to make 2 rows of text, and the bottom line is half readible, half over the top line text.

Is there a fix for this?

Created on Oct 14, 2016 12:38:42 PM



Votes:

0

Could you provide a screenshot?

Created on Oct 17, 2016 8:46:36 AM by  Stephan Linke [Paessler Support]



Votes:

0

Hi,

is there a possibility to switch off the auto-expand of a table row with mouse-over of a data table. We have installed a survey monitor and want to have the complete information in the data table. There is no mouse on the monitor connected.

Thanks in advance.

Stefan

Created on Feb 3, 2017 7:07:00 AM



Votes:

0

Not quite sure what you mean - could you provide me with some screenshots?

Created on Feb 3, 2017 9:14:22 AM by  Stephan Linke [Paessler Support]



Votes:

0

Hi,

this is an overview of our printers of the survey monitor (https://pl.vc/sr9qr). The text of the column "Nachricht" is cut. With mouse-over over a cell of the column the cell will expand (https://pl.vc/9lsif). It would be great if the content of a cell will be shown always full with no cuts with no mouse over.

Thank you.

Created on Feb 6, 2017 7:18:44 AM



Votes:

0

Unfortunately, that's not possible, deeply anchored within PRTGs Javascript :(

Created on Feb 6, 2017 9:04:18 AM by  Stephan Linke [Paessler Support]



Votes:

0

Hi,

I have the same issue here. Want to change the font-size of the Data Table:Alarms to a readable size. I made all of the changes to css and htm files as described by Felix, but nothing changes.

What am I doing wrong?

Thanks. Thomas

Created on Aug 7, 2019 12:47:17 PM



Votes:

0

Was the PRTG Core Server service restarted already?

Created on Aug 8, 2019 6:23:11 AM by  Stephan Linke [Paessler Support]



Votes:

0

Hi Stephan

Yes I booted the whole server... with no effect.

Any idea?

Created on Aug 9, 2019 2:32:35 PM



Votes:

0

This might also be browser cache related - a forced refresh may do the trick as well (ctrl shift R)? The CSS is correctly entered as well?

Created on Aug 12, 2019 6:33:50 AM by  Stephan Linke [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.