Text sizes in PubReader

  1. last year

    Is there a way to change text sizes or font types within PubReader for accessibility?

  2. Angelo S

    23 Aug 2021 Administrator

    Hello Gabrielle,
    you can achieve this using a one-line javascript like this:

    $(".variable-font-size .SCTextContainer *").animate({'font-size': '+=5'});

    That will animate and increase the text size of every text box with the "variable-font-size" class by 5 pixels.
    Just use: $(".SCTextContainer *").animate({'font-size': '+=5'}); if you want to increase the font size of every text box on the page. Use -=5 instead of +=5 to decrease the font size (of course you can replace 5 with whatever size you prefer).

  3. Thank you!!!!!


or Sign Up to reply!