Liquid, JavaScript, themes, sales channels
Hi! on the main page in the top left corner I have these little marks. How do I get rid of this??
Solved! Go to the solution
This is an accepted solution.
The tags are probably being included from /snippets/social-meta-tags.liquid
What's the address of your store? If you have a storefront password set under Online store >> Preferences, please post that here too or disable it, otherwise we can't see your storefront. (NOTE: Do NOT post your admin password here, only the storefront password).
dayandesigns.com
There are two HTML tags in the code that end with an incorrect ">, you'll probably find them in Layout/theme.liquid:
<meta property="og:description" content="<meta name="p:domain_verify" content="08437653865129d309fb2982e2317426"/>">
<meta name="twitter:description" content="<meta name="p:domain_verify" content="08437653865129d309fb2982e2317426"/>">
Delete the "> at the end of each one and that should solve it.
Which one do I take out?
<!doctype html>
<html class="no-js" lang="{{ shop.locale }}">
<head>
<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">
<meta name="theme-color" content="{{ settings.color_button }}">
<link rel="canonical" href="{{ canonical_url }}">
{%- if settings.favicon != blank -%}
<link rel="shortcut icon" href="{{ settings.favicon | img_url: '32x32' }}" type="image/png">
{%- endif -%}
{%- capture seo_title -%}
{%- if template == 'search' and search.performed == true -%}
{{ 'general.search.heading' | t: count: search.results_count }}: {{ 'general.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>
{%- if page_description -%}
<meta name="description" content="{{ page_description | escape }}">
{%- endif -%}
{% include 'social-meta-tags' %}
{{ 'theme.scss.css' | asset_url | stylesheet_tag }}
This is an accepted solution.
The tags are probably being included from /snippets/social-meta-tags.liquid
Thank you!!!
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024