Removing unwanted code on bottom of homepage

addiev
New Member
3 0 0

For some reason there is code showing up on the bottom of my home page and I don't want it there. Any tips on how to get it to go away?  it looks like thisScreen Shot 2020-04-14 at 9.59.53 PM.png

0 Likes

Hello ,

Please share your theme.liquid file here.

If helpful then please Like and Accept Solution. Free Website Review and advice for sale from Hire us
Shopify Conversion Experts | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | Shopify SEO | Digital Marketing | Site Speed Optimization | Performance Site Audit
For Quick Chat Whats app | Email: pallavi@oscprofessionals.com | Skype : oscprofessionals-87
0 Likes
addiev
New Member
3 0 0



<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 }}" />


{%- if settings.favicon != blank -%}

{%- endif -%}

{%- capture seo_title -%}
{%- if request.page_type == '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 -%}
{{ seo_title | strip }}

{%- if page_description -%}
<meta name="description" content="{{ page_description | escape }}" />
{%- endif -%}

{% include 'social-meta-tags' %}

{{ 'theme.scss.css' | asset_url | stylesheet_tag }}




{%- if request.page_type contains 'customers/' -%}

{%- endif -%}





{{ content_for_header }}




{{
'general.accessibility.skip_to_content' | t }}




{%- if settings.enable_ajax -%}
{% include 'cart-popup' %}
{%- endif -%}

{% section 'header' %}




tabindex="-1">
{{ content_for_layout }}


{% section 'footer' %}


{{- 'sections.slideshow.navigation_instructions' | t -}}





  • {{
    'general.accessibility.refresh_page' | t }}

  • {{
    'general.accessibility.selection_help' | t }}





var links = document.links;
for (let i = 0, linksLength = links.length ; i < linksLength ; i++) {
if (links[i].hostname !== window.location.hostname) {
links[i].target = '_blank';
links[i].rel = 'noreferrer noopener';
}
}



0 Likes
SeanieB910
Tourist
4 0 1

Was there an answer for this? I too, have the same problem? see the picture attached. Any help would be greatly appreciated!

Capture1.PNG

0 Likes
addiev
New Member
3 0 0

No answer yet, I still can't figure it out!

0 Likes

@addiev,

Please share your site url

If helpful then please Like and Accept Solution. Free Website Review and advice for sale from Hire us
Shopify Conversion Experts | Shopify Private App | Custom Theme Development | Custom Modifications In To Shopify Theme | Shopify SEO | Digital Marketing | Site Speed Optimization | Performance Site Audit
For Quick Chat Whats app | Email: pallavi@oscprofessionals.com | Skype : oscprofessionals-87
0 Likes
SeanieB910
Tourist
4 0 1

I hope it is sorted for you!

If you want to look at mine to see what you can do:  https://prosperitygoods.myshopify.com/       Password: rtaolo

 

Thank you

0 Likes
Doug_at_V4D
New Member
1 0 0

I have had this problem. I've just started adding stuff to the code.

The problem happened when I added a code snippet to the theme.liquid file (under "Layout"), instead of "theme.scss.liquid" (under "Assets").

It went away when I deleted that snippet from theme.liquid.

 

0 Likes
Frank_Mancuso
Tourist
17 0 3

Hello,

I am having the same problem.  Random code showing up at bottom. Think it was when i was editing something for centering. 

 Bottom of screen code showing upBottom of screen code showing up

https://tonyscollectibles.com/

Let me know what else you need. Plz help! 

0 Likes