Unexpected token error for :not selector

This topic contains 1 reply, has 2 voices, and was last updated by  Sebastian 1 month ago.

Author Posts


Hi Sebastian,

Should the following be valid? It shows as an error when viewing generated CSS.

.fl-page-nav ul.sub-menu li:not(.mega-heading)

(unexpected token ‘mega-heading’)



Ah, maybe I didn’t properly fix the :not() validation issue you raised previously. There is actually red warning in the code editor too, but it’s hidden behind the ellipses at the top left, it becomes visible if you shift the CSS selector code down a line. I will investigate!


You must login or register to reply to this topic.