Tobii
June 28, 2022, 11:35am
1
Hey,
I am currently struggling with generated css code which I don’t understand where it comes from. I need to make a change to that code but don’t know where. In the inspector I could find out that it doesn’t come from my theme.scss file - as you can see in the attached screenshot. Does anybody know where to find that code source?
If you need it, you can reach my shop under https://calisao.com/
Best regards
Tobi
Hi @Tobii ,
Please go to theme.liquid file. You can find that code here, inside the head tag.
Hope it helps!
Tobii
June 29, 2022, 11:48am
3
Hey @LitCommerce ,
unfotunately I couldn’t find it there either. Below you can find a screenshot of the only slideshow mentions which I found in the theme.liquid.
Any further idea?
Thank you, best regards
Tobi
Hi @Tobii ,
Please send me the code of theme.liquid file, I will check it for you
Tobii
June 30, 2022, 3:07pm
5
Hey again, thank you very much!
Here is the code:
{% if
request.page_type == ‘blog’
or request.page_type == ‘collection’
or request.page_type == ‘list-collections’
or request.page_type == ‘search’
%}
{%- assign hide_footer = true -%}
{% endif %}
{%- render ‘layouthub_header’ -%}{% render ‘pagefly-head’ %}
{% if settings.favicon != blank %}
{% endif %}
{{ page_title }}{% 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 %}{% unless page_title contains shop.name %} – {{ shop.name }}{% endunless %}
{% if page_description %}
{% endif %}
{% include ‘social-meta-tags’ %}
{% render ‘css-variables’ %}
{{ content_for_header }}
{% include ‘critical-css’ %}
{% include ‘load-css’ %}
{% render ‘shogun-head’ %}
{{ ‘general.accessibility.skip_to_content’ | t }}
{% section ‘header’ %}
{{ content_for_layout }}
{% section ‘footer’ %}
{% include ‘cart-drawer’ %}
{{ 'general.accessibility.refresh_page' | t }}
{{ 'general.accessibility.selection_help' | t }}
{%- render 'layouthub_footer' -%}
Hi @Tobii ,
The code has been added in 1 of the following 3 files: css-variables.liquid , critical-css.liquid or load-css.liquid
You just need to check all these files, it will be found.
Hope it helps!