• Resolved rudolfl

    (@rudolfl)


    Hi

    I have an inline CSS in my code something along the line of “<span style = “background:#ffffff !important”>

    This is removed in process of UCSS generation. As there is no specific CSS selector, how can I force this to be included in UCSS?

    Code is generated by one of the plugins and I have no control over the HTML generation

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support qtwrk

    (@qtwrk)

    please try put background:#ffffff into page optm -> tuning css -> UCSS File Excludes and Inline and CSS Excludes fields , purge UCSS and let it regenerate

    Thread Starter rudolfl

    (@rudolfl)

    Thanks

    Can I use background:* ?

    This CSS is used in color swatches and there are a few of those

    Plugin Support qtwrk

    (@qtwrk)

    unfortunately no , it won’t work wildcard , maybe you can just use background:

    Thread Starter rudolfl

    (@rudolfl)

    Thank you

    I will try. At the moment I realised I was using an outdated version of he plugin that generates this code.

    New version seem to be “compatible” with UCSS generation out of the box, but I do want to test your suggestion as I am sure it will come useful one day.

    Rudolf

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

The topic ‘UCSS generation removes inline CSS’ is closed to new replies.