Troubleshooting: Adding a logo to the footer code footer.liquid

Hi,

I would like to add an image to the footer on my website: www.goodloopsyarn.com

I have followed the blogs and instructions:

  1. I added the logo I want to use to my ‘files’ under Settings.

  2. I copy that link : https://cdn.shopify.com/s/files/1/0209/7587/8208/files/CraftIndustryAlliance.png?v=1635235981

  3. I go to edit code, line 250: <img src=“{{ CraftIndustryAlliance.png | asset_url }}”; alt=“We are Craft Industry Alliance Members” style=‘width:25%’ />

  4. I have tried pasting the url to replace asset_url and I get this error message:

This file contains the following errors:

Please do correct my sintax error/ help me display the logo image correctly?

I look forward to hearing from you at your earliest convenience.

Kind regards

Jennifer

@JenBotha

look at this fine

please share your footer code

Hi Ketan

Thanks for your reply. Your attached image is what I would like (although I do think it will be better as a white background and not PNG just because my footer is dark)

I appreciate your help!

This is the relevant part of my footer code:

{% if section.settings.show_payment_icons %}
THESE PAYMENTS ACCEPTED HERE
{% unless shop.enabled_payment_types == empty %} {{ 'general.payment.method' | t }}
    {% for type in shop.enabled_payment_types %}
  • {{ type | payment_type_svg_tag: class: 'icon icon--full-color' }}
  • {% endfor %}
{% endunless %}
{% endif %}
WE'RE PROUD MEMBERS OF
We are Craft Industry Alliance Members We are CGoA Members
© {{ 'now' | date: "%Y" }}, {{ shop.name | link_to: '/' }}

@JenBotha

yes please update this code


{% if section.settings.show_payment_icons %}
##### THESE PAYMENTS ACCEPTED HERE

{% unless shop.enabled_payment_types == empty %}
{{ 'general.payment.method' | t }}

{% for type in shop.enabled_payment_types %}
- {{ type | payment_type_svg_tag: class: 'icon icon--full-color' }}

{% endfor %}

{% endunless %}

{% endif %}

##### WE'RE PROUD MEMBERS OF

<small>© {{ 'now' | date: "%Y" }}, {{ shop.name | link_to: '/' }}</small>
<small></small>

@KetanKumar

I copied and pasted and it looks the same? Still not showing correctly.

@JenBotha

can you please confirm this logo proper

https://cdn.shopify.com/s/files/1/0209/7587/8208/files/CraftIndustryAlliance.png?v=1635235981

Yes! that is correct

@JenBotha

yes please update this code


{% if section.settings.show_payment_icons %}
##### THESE PAYMENTS ACCEPTED HERE

{% unless shop.enabled_payment_types == empty %}
{{ 'general.payment.method' | t }}

{% for type in shop.enabled_payment_types %}
- {{ type | payment_type_svg_tag: class: 'icon icon--full-color' }}

{% endfor %}

{% endunless %}

{% endif %}

##### WE'RE PROUD MEMBERS OF

![We are Craft Industry Alliance Members|1080x1080](upload://7zAaxHyvDlJqTOIluBzJejLNuWT.jpeg)

<small>© {{ 'now' | date: "%Y" }}, {{ shop.name | link_to: '/' }}</small>
<small></small>

Thank you!

This worked. It is still unclear to me why it wasn’t working before.

I appreciate your time!

Jennifer

@JenBotha

some issue your code i hope now all good?