• Hi, I ran into an issue with Custom CSS (Enhance CSS) option in Jetpack and a block theme like Twenty Twenty-Three:

    The Custom CSS option activates the Customizer and allows access to the (enhanced) custom CSS field. So far so god.

    But the custom CSS now gets inserted into the source twice.

    Not a breaking issue, but still… ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Kellie (a11n)

    (@lavenderhaze)

    Hi there @ravanh,

    Thanks for posting about this. I tested on my own site using the Twenty Twenty Three theme, and I wasn’t able to reproduce what you’re reporting — on my site, the custom CSS is only present in the page source one time.

    Can you try temporarily deactivating all other plugins on your site and see if you’re still seeing the CSS appear twice? I’m curious if something like a caching plugin is interfering here.

    Thread Starter Rolf Allard van Hagen

    (@ravanh)

    Hi Kellie, you can see it happen on a test site https://dev.status301.com running WordPress 6.2-beta3 where I have NO other plugins active, the theme Twenty Twenty-Three without any customised templates, and all Jetpack modules deactivated except Custom CSS.

    I added this to the Custom CSS field:

    /* TEST */
    .test {
    	--test: 0;
    }

    Which you’ll notice appear twice in the page source.

    Thanks for clarifying that you’re using WordPress 6.2 Beta. The issue does not occur in WordPress 6.1, but I was able to reproduce it in the 6.2 Beta.

    The issue has been reported to our developers here: https://github.com/Automattic/jetpack/issues/29285

    You can follow along with the issue there for updates.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom CSS and block themes issue’ is closed to new replies.