How to link footer photo to website homepage? - Dawn Theme

Please provide a code to link this footer photo to my website homepage.

Adjustable Satin Bonnets & Hair Accessories - FeminiqueByCameron LLC

Here is how you can add a link to the image on your footer on the Dawn theme:

  1. Go to the theme editor: https://admin.shopify.com/store/feminiquebycameron-8821/themes

  2. Search footer and add the codes below around the image element.

Replace this:


  {{
    settings.brand_image
    | image_url: width: 1100
    | image_tag:
      loading: 'lazy',
      widths: '50, 100, 150, 200, 300, 400, 550, 800, 1100',
      height: brand_image_height,
      width: settings.brand_image_width
  }}

With this:


  {{
    settings.brand_image
    | image_url: width: 1100
    | image_tag:
      loading: 'lazy',
      widths: '50, 100, 150, 200, 300, 400, 550, 800, 1100',
      height: brand_image_height,
      width: settings.brand_image_width
  }}

Do I replace (routes.root_url) with my website link?

No need. It automatically generates a link to your homepage.

https://shopify.dev/docs/api/liquid/objects#routes-root_url

I’ve tried it and when I press my logo it doesn’t do anything.

Please, could you help me with that. Thank You:)

Please replace this:


With this:


  

works like a charm, thank you!:wink: