Bonjour,
J'utilise le thème stiletto et je cherche à retirer le volet de recherche qui est intégré directement au thème pour upload un plug-in de recherche.
Malheureusement je n'arrive pas à supprimer ce volet dans la personnalisation du site mais aussi en modifiant le code.
Avez-vous des solutions ?
Voici le code du thème:
<html class="no-js" lang="{{ request.locale.iso_code }}" style="--announcement-height: 1px;">
<head>
<!-- Added by AVADA SEO Suite -->
{% include 'avada-seo' %}
<!-- /Added by AVADA SEO Suite -->
{% include 'autoketing-seo' %}
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
{% render 'meta-description' %}
<link rel="canonical" href="{{ canonical_url }}">
{%- if settings.favicon != blank -%}
<link rel="shortcut icon" href="{{ settings.favicon | image_url: width: 32, height: 32 }}" type="image/png">
{%- endif -%}
{%- capture seo_title -%}
{%- if request.page_type == 'search' and search.performed == true -%}
{{ 'search.heading' | t: count: search.results_count }}:
{{ 'search.results_with_count' | t: terms: search.terms, count: search.results_count }}
{%- else -%}
{{ page_title }}
{%- endif -%}
{%- if current_tags -%}
{%- assign meta_tags = current_tags | join: ', ' -%}
– {{ 'general.meta.tags' | t: tags: meta_tags -}}
{%- endif -%}
{%- if current_page != 1 -%}
– {{ 'general.meta.page' | t: page: current_page }}
{%- endif -%}
{%- assign escaped_page_title = page_title | escape -%}
{%- unless escaped_page_title contains shop.name -%}
– {{ shop.name }}
{%- endunless -%}
{%- endcapture -%}
<title>{{ seo_title | strip }}</title>
{% render 'social-meta-tags' %}
{% render 'theme-setup' %}
{% render 'theme-setting-vars' %}
{%- render 'theme-globals' -%}
{{ content_for_header }}
{% include 'autoketing-end-head-seo' %}
</head>
<body class="template-{{ request.page_type | handle }}">
<div class="page">
{% if settings.enable_page_transitions %}
{% render 'page-transition-overlay' %}
{% endif %}
<div class="theme-editor-scroll-offset"></div>
<div class="header__space" data-header-space></div>
{% sections 'header-group' %}
{% sections 'overlay-group' %}
{%- if settings.enable_quick_search -%}
{% render 'quick-search' %}
{%- endif -%}
<div class="header-overlay" data-header-overlay>
<div class="header-overlay__inner"></div>
</div>
<main id="main" class="main">
{{ content_for_layout }}
</main>
{% sections 'footer-group' %}
{% render 'store-availability-drawer' %}
{% render 'quick-view-modal' %}
{% render 'modal' %}
{% render 'back-to-top' %}
</div>
{{ '//cdn.shopify.com/shopifycloud/shopify-plyr/v1.0/shopify-plyr.css' | stylesheet_tag }}
</body>
<link
rel="preload"
fetchpriority="low"
href="{{ 'theme-deferred.css' | asset_url }}"
as="style"
onload="this.onload=null;this.rel='stylesheet'"
>
<noscript><link rel="stylesheet" href="{{ 'theme-deferred.css' | asset_url }}"></noscript>
</html>