How to edit font size of HTML report

  • hammerto
    Asked on February 9, 2017 at 3:46 AM

    Hi, I am sending my reports to an external web page as a grid listing or an HTML report,

    The problem is I want to get Larger Fonts. is it possible?

    TNX

    Tommy

  • omerorkun JotForm Data Scientist
    Replied on February 9, 2017 at 3:59 AM

    Hi Tommy,

    When you create an HTML report an embed code is generated as well:

    How to edit font size of HTML report Image 1 Screenshot 20

    There is not a direct option here to change to font size, however you can add the necessary code here and make things work. Please see:

    <iframe src="https://www.jotform.com/table/70391445819058" frameborder="0" style="width: 100%; height: 100%; min-height: 500px; border:none; font-size:14px;" scrolling="auto"></iframe>

    The part that I highlighted with blue is the code I added. Font size is 12 px by default, here I made it 14 but you can change it for sure. I hope this helps. 

    Please contact us again if you need any further assistance. 

  • hammerto
    Replied on February 9, 2017 at 8:02 AM

    Thanks for your answer, But that is not working :(

    I am using an Iframe and made the change (I was using even your test table) ion my board  http://productionboard.jsfs.co.il/

    <iframe frameborder="0" scrolling="auto" src="https://www.jotform.com/table/70391445819058" style="width: 100%; height: 100%; min-height: 500px; border:none; font-size:18px;"></iframe>

    do you have an Idea?

    TNX

    Tommy

     

  • omerorkun JotForm Data Scientist
    Replied on February 9, 2017 at 8:28 AM

    Hi Tommy,

    I can see that it did not function on your website. It seems to be overridden by another code on your webpage. Please inject the following code on the CSS file of your webpage:

    .div.messages.module2 {

    font-size:18px !important;

    }

    I hope this works. 

    Kind Regards

  • hammerto
    Replied on February 9, 2017 at 8:51 AM

    Thanks,

    No, That is not working just spoke to my programmer.

    do you konw another way to get larger fonts?

  • omerorkun JotForm Data Scientist
    Replied on February 9, 2017 at 9:21 AM

    Hi, 

    I have spoken to our developers about this and I have found out that we are not able to inject codes for a content within the borders of an iframe. This is because that you are using a content from a different domain, which is us, in your instance. So, font size change is not possible to be done by changing or injecting codes.

    If you'd like I can forward a feature request which enables a customisable report screen. I am sorry that my initial assumption is wrong. 

    Thank you for contacting us.

    Kind Regards

  • hammerto
    Replied on February 9, 2017 at 9:27 AM

    Thanks, Yes please forward my request for a feature like that, trhat will be helpful

    BR

    tommy

  • omerorkun JotForm Data Scientist
    Replied on February 9, 2017 at 9:54 AM

    I have now forwarded the request. You'll be notified via this thread if it is implemented. 

    Thank you for your participation in making JotForm more useful!

    Regards