Unexpected token error for :not selector

This topic contains 5 replies, has 2 voices, and was last updated by  Sebastian 3 months ago.

Author Posts

Norm6257

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’)

-Norm


Sebastian

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!

Sebastian


Norm6257

Thanks for looking into this, Sebastian. Here’s another instance…

Uncaught SyntaxError: Failed to execute ‘querySelector’ on ‘Document’: ‘body:not(‘ is not a valid selector


Sebastian

Thanks for reporting this Norm. I got a bit side-tracked with the :not() issue, but I will make some time to work on it next week. And check the syntaxError issue too.


Sebastian

Hey, version 7.1.5.9 should fix both issues for you. Let me if not!


Sebastian

(and remember to clear your browser cache)

You must login or register to reply to this topic.