• Resolved Rodrigo

    (@rghedin)


    I noticed this inline CSS appeared in my <head>, and since it seems useless considering the Jetpack features enabled, I’d like to prevent this style from loading.

    I’m familiar with functions.php and wp_dequeue_style function, therefore I just need to know what I have to dequeue.

    The whole code, for reference:

    <style id='jetpack-global-styles-frontend-style-inline-css'>
        :root {
            --font-headings: unset;
            --font-base: unset;
            --font-headings-default: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
            --font-base-default: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
        }
        </style>
    
    • This topic was modified 1 year, 6 months ago by Rodrigo. Reason: Fix the code block

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Paulina H. (a11n)

    (@pehaa)

    Hey there,

    Jetpack works a bit differently on sites hosted on WordPress.com (like yours) compared to self-hosted sites. Here in this forum, we primarily focus on assisting users with the self-hosted version of Jetpack.

    For specific inquiries related to WordPress.com hosted sites, I recommend reaching out directly to the WordPress.com support team. They are best-equipped to provide detailed information and guidance on what is or isn’t possible on their platform, including questions specific to Jetpack’s integration.

    You can post your question in the WordPress.com support forum here: https://wordpress.com/forums/forum/support/.

    Or, if you prefer, you can open a support ticket directly from the account that owns the site, which allows the support staff to access necessary details to assist you effectively: https://wordpress.com/help/contact.

    Thank you!

Viewing 1 replies (of 1 total)

The topic ‘Prevent jetpack-global-styles-frontend-style-inline-css from loading’ is closed to new replies.