Title: &#8220;Unexpected token&#8221; Error Message
Last modified: August 2, 2019

---

# “Unexpected token” Error Message

 *  Resolved [dyates63](https://wordpress.org/support/users/dyates63/)
 * (@dyates63)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/unexpected-token-error-message/)
 * 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/](https://fustingandduganins.com/)
 * Thanks for all you do.
 * Don
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Funexpected-token-error-message%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/unexpected-token-error-message/#post-11791992)
 * 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
 *  Thread Starter [dyates63](https://wordpress.org/support/users/dyates63/)
 * (@dyates63)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/unexpected-token-error-message/#post-11793250)
 * 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 [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/unexpected-token-error-message/#post-11793352)
 * 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
 *  Thread Starter [dyates63](https://wordpress.org/support/users/dyates63/)
 * (@dyates63)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/unexpected-token-error-message/#post-11794554)
 * Worked! Thanks Tobias!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/unexpected-token-error-message/#post-11796424)
 * 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](https://wordpress.org/support/plugin/tablepress/reviews/)
   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.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 5 replies
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/unexpected-token-error-message/#post-11796424)
 * Status: resolved