How to Make Featured Product Title Link Clickable to Product Page in Shopify Dawn Theme

How to Make Featured Product Title Link Clickable to Product Page in Shopify Dawn Theme

---

Online Store > Themes > Edit Code > featured-product.liquid

>>

.product__title>a {    

display: inherit;    

color: inherit;    

text-decoration: none;   }

>>>

 {%- if block.settings.link != blank -%}
                      <a href="{{ block.settings.link }}">
                        {{ product.title | escape }}
                      </a>
                    {%- else -%}
                      {{ product.title | escape }}
                    {%- endif -%}

 

>>

 

{          

"type": "url",          

"id": "link",          

"label": "Product Link"        

}