How to add a phone number to the Dawn theme footer?

Hi all,

I need help for add phone number with logo (footer) on my dawn theme

thx :smiley:

@Nico38 ,

Check this on customizer area.

add your phone no here.

1 Like

Hi @Nico38

I understood your concern and realised that you achieve it using add custom code.

  1. First of all, you have to create custom input settings in footer.liquid file. Add the below code in it.
{
      "type": "custom-logo",
      "name": "Custom logo",
      "settings": [
        {
          "type": "image_picker",
          "id": "image",
          "label": "Logo image"
        },
        {
          "type": "html",
          "id": "phone_number",
          "label": "Phone number"
        }
      ]
    },

  1. In the second step, you have to add another code in the footer.liquid file.
{%- when 'custom-logo' -%}
  
    

      
    

    
      {{ block.settings.phone_number }}
    

  

  1. In the last step, Add a custom logo block in the footer section of customise then you can add the logo and phone number.

I believe this can help you to resolve the issue.

Happy Coding!!