Support » Plugin: TablePress » “Unexpected token” Error Message

  • Resolved dyates63

    (@dyates63)


    Hi Tobias,

    I’m getting an error message in my Custom CSS Settings. “Unexpected token ’18x’ at line 2, col 13.” I am unable to change my font sizes.

    I’m using Word Press 5.2.2.

    https://fustingandduganins.com/

    Thanks for all you do.

    Don

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    18x is not a valid font size here, the unit needs to be px. Please try again with

    font-size: 18px !important;
    

    Regards,
    Tobias

    Tobias,

    Thanks for the usual quick response. Not sure how I ended up without the ‘p’ there. However, I’ve fixed that and it still has no effect on the font size, even with “important”.

    Don

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi Don,

    that’s now because you are setting a font size with HTML, via

    <font size="3">
    

    in your HTML.

    I recommend to remove that and the </font> part of the code.

    Regards,
    Tobias

    Worked! Thanks Tobias!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘“Unexpected token” Error Message’ is closed to new replies.