Change cart and search icon to text in header

How do i change the cart and search icons so i just have the text written out?

I use the dawn theme

Hello @victorialoekke ,

  1. Search
    Edit file header-search.liquid, you can find this file under Snippets
    Here in this file check code line no. 15-20 and replace it with text “Search” or the text you need.

        
  1. Cart

Edit file header.liquid, you can find this file under Sections
Here in this file check code line no. 331-337 and replace it with text “Cart” or the text you need.

{%- liquid
          if cart == empty
            render 'icon-cart-empty'
          else
            render 'icon-cart'
          endif
        -%}

Thanks

1 Like

Thank you so much!

But now Search is underlined - how do i remove it?

Hi there sorry if this sounds a silly question. But what exactly do I replace with “Text” and “Search”? Can I see a before and after of the code? I’ve just done this and now my cart has disappeared and the “Search” text is too big for the button.