0

I have named clip-paths throughout my site, and when I try to use them like so:

clip-path:url("#mask-circle");

Hummingbird adds an entire path to the URL, as if named path is a file I can link to:

clip-path:url("https://www._______.com/wp-content/themes/_______/assets/styles/#mask-circle");

Is there anyway to disable this, or at least flag a line of styles to leave as-is?

thiirteen
  • 103
  • 1
  • 8
  • I am facing the same issue, [link](https://stackoverflow.com/questions/67141856/css-clip-path-source-url-gets-change-while-using-in-solution). Any solution? – Ronak Apr 18 '21 at 13:46
  • @Ronak We ended up having to exclude those styles from the optimizer. It just seems to be a complete oversight by Hummingbird. – thiirteen Apr 19 '21 at 00:08
  • @thirteen - you mean, this is something because of optimizer who adds paths to css url? – Ronak Apr 19 '21 at 03:57
  • 1
    @Ronak Correct. In this case, it appeared to be "over-optimizing." – thiirteen Jun 14 '21 at 16:21

0 Answers0