How do I remove \n" + "\n" + "\n" + "\n" + "\n" + " \n" + "\n

I am getting a code at the bottom of my theme \n" + “\n” + “\n” + “\n” + “\n” + " \n" + "\n how do I remove it?

1 Like

@Octavanius
Welcome to the Shopify community!
Thanks for your good question.

Please share your store URL.
So that I will check and let you know the exact solution here.

@Octavanius
Check this “/n+/n” into the bottom of the footer.liquid file and remove it.

hi its www.greenfilla.com unfortunately its not on the footer.liquid section

please see below

{%- liquid
assign show_selectors = false
assign currency_selector = false
assign locale_selector = false

if section.settings.show_currency_selector and shop.enabled_currencies.size > 1
assign currency_selector = true
endif

if section.settings.show_locale_selector and shop.enabled_locales.size > 1
assign locale_selector = true
endif

if currency_selector or locale_selector
assign show_selectors = true
endif
-%}

{%- assign row_width = 0 -%} {%- for block in section.blocks -%} {%- assign row_width = row_width | plus: block.settings.container_width -%} {%- style -%} @media only screen and (min-width: 769px) { .footer__item--{{ block.id }} { width: {{ block.settings.container_width }}%; } } {%- endstyle -%}

{%- if row_width > 100 -%}

{%- assign row_width = row_width | minus: 100 -%} {%- endif -%}

{%- case block.type -%}
{%- when ‘logo_social’ -%}

{%- render 'footer-logo-social', block: block -%}
{%- when 'custom' -%}
{%- render 'footer-custom-text', block: block -%}
{%- when 'newsletter' -%}
{%- render 'footer-newsletter', block: block -%}
{%- when 'menu' -%}
{%- render 'footer-menu', block: block -%}
{%- endcase -%} {%- endfor -%}
{%- if show_selectors -%} {%- form 'localization', class: 'multi-selectors site-footer__bottom-block', data-disclosure-form: '' -%} {%- if locale_selector -%}

{{ 'general.language.dropdown_label' | t }}

{{ form.current_locale.endonym_name }}
{%- endif -%}

{%- if currency_selector -%}

{{ 'general.currency.dropdown_label' | t }}

{%- if section.settings.show_currency_flags -%} {%- endif -%} {{ form.current_currency.iso_code }} {%- if form.current_currency.symbol -%}{{ form.current_currency.symbol }}{%- endif -%}
{%- endif -%} {%- endform -%} {%- endif -%}

{%- if section.settings.show_payment_icons -%}
{%- unless shop.enabled_payment_types == empty -%}

    {%- for type in shop.enabled_payment_types -%}
  • {{ type | payment_type_svg_tag }}
  • {%- endfor -%}
{%- endunless -%} {%- endif -%}
{%- if section.settings.show_copyright -%} © {{ 'now' | date: '%Y' }} {{ shop.name }} {%- if section.settings.copyright_text != blank -%} {{ section.settings.copyright_text }} {%- endif -%} {%- endif -%} {{ powered_by_link }}

{% schema %}
{
“name”: “Footer”,
“max_blocks”: 12,
“settings”: [
{
“type”: “header”,
“content”: “Language selector”,
“info”: “To add a language, go to your language settings.
},
{
“type”: “checkbox”,
“id”: “show_locale_selector”,
“label”: “Show language selector”,
“default”: true
},
{
“type”: “header”,
“content”: “Currency selector”,
“info”: “To add a currency, go to your currency settings.
},
{
“type”: “checkbox”,
“id”: “show_currency_selector”,
“label”: “Show currency selector”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “show_currency_flags”,
“label”: “Show currency flags”,
“default”: true
},
{
“type”: “header”,
“content”: “Additional footer content”
},
{
“type”: “checkbox”,
“id”: “show_payment_icons”,
“label”: “Show payment icons”
},
{
“type”: “checkbox”,
“id”: “colorize_payment_icons”,
“label”: “Colorize payment icons”
},
{
“type”: “checkbox”,
“id”: “show_copyright”,
“label”: “Show copyright”
},
{
“type”: “text”,
“id”: “copyright_text”,
“label”: “Additional copyright text”
}
],
“blocks”: [
{
“type”: “logo_social”,
“name”: “Logo and social”,
“limit”: 1,
“settings”: [
{
“type”: “image_picker”,
“id”: “logo”,
“label”: “Logo image”
},
{
“type”: “range”,
“id”: “desktop_logo_height”,
“label”: “Logo height”,
“default”: 50,
“min”: 20,
“max”: 120,
“unit”: “px”
},
{
“type”: “paragraph”,
“content”: "Social networking links will appear here when added in your general theme settings under Social media. "
},
{
“type”: “range”,
“id”: “container_width”,
“label”: “Column width”,
“default”: 20,
“min”: 15,
“max”: 95,
“unit”: “%”
}
]
},
{
“type”: “menu”,
“name”: “Menu”,
“settings”: [
{
“type”: “checkbox”,
“id”: “show_footer_title”,
“label”: “Show title”,
“default”: true
},
{
“type”: “link_list”,
“id”: “menu”,
“label”: “Choose a menu”,
“default”: “footer”,
“info”: “This menu won’t show dropdown items”
},
{
“type”: “range”,
“id”: “container_width”,
“label”: “Column width”,
“default”: 20,
“min”: 15,
“max”: 95,
“unit”: “%”
}
]
},
{
“type”: “newsletter”,
“name”: “Newsletter”,
“limit”: 1,
“settings”: [
{
“type”: “checkbox”,
“id”: “show_footer_title”,
“label”: “Show title”,
“default”: true
},
{
“type”: “paragraph”,
“content”: “Any customers who sign up will have an account created for them in Shopify. View customers.”
},
{
“type”: “text”,
“id”: “title”,
“label”: “Heading”,
“default”: “Sign up and save”
},
{
“type”: “richtext”,
“id”: “richtext”,
“label”: “Text”,
“info”: “Optional”,
“default”: “

Subscribe to get special offers, free giveaways, and once-in-a-lifetime deals.


},
{
“type”: “range”,
“id”: “container_width”,
“label”: “Column width”,
“default”: 20,
“min”: 15,
“max”: 95,
“unit”: “%”
}
]
},
{
“type”: “custom”,
“name”: “Custom text”,
“settings”: [
{
“type”: “checkbox”,
“id”: “show_footer_title”,
“label”: “Show title”,
“default”: true
},
{
“type”: “text”,
“id”: “title”,
“label”: “Heading”,
“default”: “Custom text”
},
{
“type”: “richtext”,
“id”: “text”,
“label”: “Text”,
“default”: “

Add your own custom text here.


},
{
“type”: “range”,
“id”: “container_width”,
“label”: “Column width”,
“default”: 20,
“min”: 15,
“max”: 95,
“unit”: “%”
}
]
}
],
“default”: {
“settings”: {},
“blocks”: [
{
“type”: “menu”,
“settings”: {}
},
{
“type”: “logo_social”,
“settings”: {}
}
]
}
}
{% endschema %}

@Zworthkey my store sorry is octavanius278@myshopify.com, when I publish the other themes its actually coming up with the same code at the footer for some reason?

I am having the same issue on my newest store, have absolutely failed at finding a solution. I don’t want to change source code myself, would rather use the website edit settings. HELPPP :heart:

Hi @Octavanius ,

Check this “/n+/n” into the bottom of the theme.liquid file and remove it.

If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.

Best regards.