• Resolved 34sfdsdsds

    (@34sfdsdsds)


    I’m using the Flatbook theme, which uses Kirki. The developer is no longer supporting the theme–I had a question that I hoped a Kirki expert might be able to answer.

    I don’t specify values in certain places in the Customizer, so the front-end is outputting CSS links to custom-styles.css (id = flatbook_custom_style-css), kirki-styles.css (id = kirki-styles-fb-css), both of which are 0KB.

    (FWIW, it’s also inlining CSS under the ID of kirki-styles-fb-inline-css, which I think I need to keep in place)

    I don’t plan to add any more info via the Customizer. Is there a safe way to dequeue the 2 files? I tried dequeuing one of them, and it ended up changing the front-end colors, so I undid it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey there @34sfdsdsds,

    The stylesheet is 0kb however it is used to allow inlining the stylesheets.
    Did you try updating Kirki to the latest version? I believe the latest update should fix that for you automatically.

    Thread Starter 34sfdsdsds

    (@34sfdsdsds)

    Thanks for getting back to me so quickly!

    That makes sense… It looks like the version I’m on is 2.3.7 (https://themeforest.net/item/flatbook-flat-ebook-selling-wordpress-theme/6023410).

    Since the theme developer isn’t supporting, how would I go about an upgrade?

    The theme doesn’t currently use the plugin. If I install the plugin, will that find and update whatever files were included with the theme? Or should I download the plugin, extract the files, and put those new files wherever the files currently live in the theme?

    Hmmm v2.3.7 was released almost 3 years ago.
    Many things have changed since then so I can’t guarantee this will work since the theme developer is no longer maintaining their theme, but you can try simply installing the plugin on your site.
    In most cases that does the trick.

    IMPORTANT: Please keep a backup of your site before doing that – or if possible try it on a staging site first if your host has a staging environment.
    I have no idea what the theme developer does, and in case they customized something in the Kirki plugin they embed in their theme you may get an error (unlikely, but always a possibility depending on what the theme developer did).

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

The topic ‘How to remove 0KB CSS?’ is closed to new replies.