quitar media print css
This commit is contained in:
@@ -10,7 +10,8 @@
|
||||
{% # Social, title, etc. %}
|
||||
{% render 'meta-tags' %}
|
||||
|
||||
{{ content_for_header }}
|
||||
{% capture shopify_header %}{{ content_for_header }}{% endcapture %}
|
||||
{% render 'delay-header-scripts', html: shopify_header %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
+17
-16
@@ -1,36 +1,37 @@
|
||||
<!doctype html>
|
||||
<html lang="{{ request.locale.iso_code }}">
|
||||
<html lang="{{ request.locale.iso_code }}" style="max-width:100%;overflow-x:hidden">
|
||||
<head>
|
||||
{% # Inlined CSS Variables %}
|
||||
{% render 'css-variables' %}
|
||||
|
||||
{% comment %}
|
||||
Font preloading:
|
||||
1. Preconnect to font CDN for faster connection
|
||||
2. Preload only the critical font variant (base weight)
|
||||
3. Additional variants load on-demand via @font-face
|
||||
{% endcomment %}
|
||||
{% unless settings.type_primary_font.system? %}
|
||||
<link rel="preconnect" href="https://fonts.shopifycdn.com" crossorigin>
|
||||
|
||||
{% comment %} Preload the base font variant for initial page render {% endcomment %}
|
||||
{{ settings.type_primary_font | font_url | preload_tag: as: 'font', crossorigin: 'anonymous' }}
|
||||
{% endunless %}
|
||||
|
||||
{% # Load and preload the critical CSS %}
|
||||
{{ 'critical.css' | asset_url | stylesheet_tag: preload: true }}
|
||||
{% render 'font-faces' %}
|
||||
{{ 'tailwind.css' | asset_url | stylesheet_tag }}
|
||||
|
||||
{% # Social, title, etc. %}
|
||||
{% render 'meta-tags' %}
|
||||
|
||||
{{ content_for_header }}
|
||||
{% capture shopify_header %}{{ content_for_header }}{% endcapture %}
|
||||
{% render 'delay-header-scripts', html: shopify_header %}
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{% sections 'header-group' %}
|
||||
|
||||
{{ content_for_layout }}
|
||||
<main id="MainContent">
|
||||
{{ content_for_layout }}
|
||||
</main>
|
||||
|
||||
{% sections 'footer-group' %}
|
||||
{% section 'cart-drawer' %}
|
||||
|
||||
{% if request.design_mode %}
|
||||
<script nolazy src="{{ 'anime.min.js' | asset_url }}" defer></script>
|
||||
<script nolazy src="{{ 'scroll-motion.js' | asset_url }}" defer></script>
|
||||
{% else %}
|
||||
<script type="rocketlazyloadscript" src="{{ 'anime.min.js' | asset_url }}" defer></script>
|
||||
<script type="rocketlazyloadscript" src="{{ 'scroll-motion.js' | asset_url }}" defer></script>
|
||||
{% endif %}
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user