diff --git a/themes/aura/sections/main-navbar.liquid b/themes/aura/sections/main-navbar.liquid index 518c9746..e33739da 100644 --- a/themes/aura/sections/main-navbar.liquid +++ b/themes/aura/sections/main-navbar.liquid @@ -1,4 +1,4 @@ -{{ 'navbar.css' | asset_url | stylesheet_tag }} +{{ 'navbar.css' | asset_url | preload_tag }} {% style %} :root{ diff --git a/themes/aura/sections/notice-bar.liquid b/themes/aura/sections/notice-bar.liquid index a073e393..09a114c6 100644 --- a/themes/aura/sections/notice-bar.liquid +++ b/themes/aura/sections/notice-bar.liquid @@ -1,4 +1,4 @@ -{{ 'notice-bar.css' | asset_url | stylesheet_tag }} +{{ 'notice-bar.css' | asset_url | preload_tag }} {% style %} :root { diff --git a/themes/aura/sections/product-reviews.liquid b/themes/aura/sections/product-reviews.liquid index 2d763f25..0be416b3 100644 --- a/themes/aura/sections/product-reviews.liquid +++ b/themes/aura/sections/product-reviews.liquid @@ -1,4 +1,4 @@ -{{ 'notice-bar.css' | asset_url | stylesheet_tag }} +{{ 'notice-bar.css' | asset_url | preload_tag }} {%- assign selected_product = section.settings.product %} diff --git a/themes/aura/snippets/head-config.liquid b/themes/aura/snippets/head-config.liquid index 4ea60696..9de97ead 100644 --- a/themes/aura/snippets/head-config.liquid +++ b/themes/aura/snippets/head-config.liquid @@ -124,8 +124,8 @@ const ratings = "{{ 'reviews.ratings' | t }}"; {% endjavascript %} -{{ 'main.css' | asset_url | stylesheet_tag }} -{{ 'utils.css' | asset_url | stylesheet_tag }} +{{ 'main.css' | asset_url | preload_tag }} +{{ 'utils.css' | asset_url | preload_tag }} {% assign store_title = store.title | default: store.name %} diff --git a/themes/harmony/sections/main-navbar.liquid b/themes/harmony/sections/main-navbar.liquid index a8293b76..27be11d1 100644 --- a/themes/harmony/sections/main-navbar.liquid +++ b/themes/harmony/sections/main-navbar.liquid @@ -1,4 +1,4 @@ -{{ 'navbar.css' | asset_url | stylesheet_tag }} +{{ 'navbar.css' | asset_url | preload_tag }} {% style %} :root{ diff --git a/themes/harmony/sections/notice-bar.liquid b/themes/harmony/sections/notice-bar.liquid index 46f13298..2f89180c 100644 --- a/themes/harmony/sections/notice-bar.liquid +++ b/themes/harmony/sections/notice-bar.liquid @@ -1,4 +1,4 @@ -{{ 'notice-bar.css' | asset_url | stylesheet_tag }} +{{ 'notice-bar.css' | asset_url | preload_tag }} {% style %} :root { diff --git a/themes/harmony/sections/product-reviews.liquid b/themes/harmony/sections/product-reviews.liquid index 2d763f25..0be416b3 100644 --- a/themes/harmony/sections/product-reviews.liquid +++ b/themes/harmony/sections/product-reviews.liquid @@ -1,4 +1,4 @@ -{{ 'notice-bar.css' | asset_url | stylesheet_tag }} +{{ 'notice-bar.css' | asset_url | preload_tag }} {%- assign selected_product = section.settings.product %} diff --git a/themes/harmony/snippets/head-config.liquid b/themes/harmony/snippets/head-config.liquid index 18a7c800..363d79d7 100644 --- a/themes/harmony/snippets/head-config.liquid +++ b/themes/harmony/snippets/head-config.liquid @@ -123,8 +123,8 @@ const ratings = "{{ 'reviews.ratings' | t }}"; {% endjavascript %} -{{ 'main.css' | asset_url | stylesheet_tag }} -{{ 'utils.css' | asset_url | stylesheet_tag }} +{{ 'main.css' | asset_url | preload_tag }} +{{ 'utils.css' | asset_url | preload_tag }} {% assign store_title = store.title | default: store.name %} diff --git a/themes/meraki/sections/main-navbar.liquid b/themes/meraki/sections/main-navbar.liquid index 85b02f28..9d51e10e 100644 --- a/themes/meraki/sections/main-navbar.liquid +++ b/themes/meraki/sections/main-navbar.liquid @@ -1,4 +1,5 @@ -{{ 'navbar.css' | asset_url | stylesheet_tag }} +{{ 'navbar.css' | asset_url | preload_tag }} + {% style %} :root { diff --git a/themes/meraki/sections/notice-bar.liquid b/themes/meraki/sections/notice-bar.liquid index 10e9387c..76f9a928 100644 --- a/themes/meraki/sections/notice-bar.liquid +++ b/themes/meraki/sections/notice-bar.liquid @@ -1,4 +1,4 @@ -{{ 'notice-bar.css' | asset_url | stylesheet_tag }} +{{ 'notice-bar.css' | asset_url | preload_tag }} {% style %} :root { diff --git a/themes/meraki/sections/product-reviews.liquid b/themes/meraki/sections/product-reviews.liquid index 2d763f25..0be416b3 100644 --- a/themes/meraki/sections/product-reviews.liquid +++ b/themes/meraki/sections/product-reviews.liquid @@ -1,4 +1,4 @@ -{{ 'notice-bar.css' | asset_url | stylesheet_tag }} +{{ 'notice-bar.css' | asset_url | preload_tag }} {%- assign selected_product = section.settings.product %} diff --git a/themes/meraki/snippets/head-config.liquid b/themes/meraki/snippets/head-config.liquid index 4ea60696..9de97ead 100644 --- a/themes/meraki/snippets/head-config.liquid +++ b/themes/meraki/snippets/head-config.liquid @@ -124,8 +124,8 @@ const ratings = "{{ 'reviews.ratings' | t }}"; {% endjavascript %} -{{ 'main.css' | asset_url | stylesheet_tag }} -{{ 'utils.css' | asset_url | stylesheet_tag }} +{{ 'main.css' | asset_url | preload_tag }} +{{ 'utils.css' | asset_url | preload_tag }} {% assign store_title = store.title | default: store.name %}