How can I change the header icon size in Enterprise theme

Topic summary

A user needed to reduce the size of search, login, and cart icons in the Enterprise theme header for their Shopify store (anteck.com.au).

Solution provided:

  • Navigate to Shopify admin → Online Store → Themes → Actions → Edit code
  • Locate the theme.liquid file
  • Insert custom CSS code before the </body> tag
  • The CSS targets header icons to reduce their dimensions

Outcome:
The solution successfully resolved the issue. The user confirmed it worked as intended.

Note: A code snippet and result screenshot were included in the original response but not fully visible in the conversation text.

Summarized with AI on November 2. AI used: claude-sonnet-4-5-20250929.

Is there a way to reduce the size of the search, login, and cart icons in the header on Enterprise theme.

anteck.com.au

TIA. Nick

1 Like

Hi @Nick_S2

TRy this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. In the “theme. Liquid” file. Find the tag and paste the code below before the tag.

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

1 Like

Perfect! seems to have done the trick. Cheers