Search Results page - links for pages and blog

I’m building a store at https://6ba3f7.myshopify.com/

If you type Vietnam in the search bar you get this page https://6ba3f7.myshopify.com/search?q=vietnam&options%5Bprefix%5D=last with 1 product, 1 page and 1 blog post.

The link on both the page and blog card is only on the title. Is it possible to have the link on the whole card?

I can see the code in main-search.liquid where the link is an h3.

Theme is Viola

{%- when ‘page’ -%}

{{ 'templates.search.page' | t }}
{%- endcase -%}

Hello @jgd1955

Try this code

{%- when ‘page’ -%}

{%- endcase -%}

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

1 Like

Hey Techlyser_web - https://6ba3f7.myshopify.com/search?q=vietnam&options%5Bprefix%5D=last- Thanks!

I modified the code you gave me to target the card-wrapper.

I think I can apply this to article-card-blog too

Thanks