How can I make the header icon line thinner?

Hi there,

I want to make the icon line in the header thinner. How can I do that?

Hello @admintb ,

You can try to follow these steps:

  • Go to Online Store → Theme → Customize
  • Select the header include the icon you want to change
  • Look for the option to set the border thickness or outline thickness for the icon
  • Adjust the border thickness or outline thickness value to make it thinner. For example, you can set it to 1px or 2px.
  • Save and preview

Hope this can help you out.

Ali Reviews team.

@irene-vintage I can’t change the thickness in settings. I need to use css

Hello @admintb ,

You can try to:

Go to Online Store → Theme → Actions → Edit code

Go to Assets → base.css → add the following code:

.header__cart-icon {
  border: 1px solid black; /* Change the border width and color to your liking */
}

Save and preview

Hope this can help you out.

Ali Reviews team.

Hi @irene-vintage

Unfortunately nothing change…

Can you check your css please? :slightly_smiling_face:

Hello @admintb ,

Sorry for the late reply. You may replace the previous code with this:

.site-header__icons {
  line-height: 1mm;
  font-size: 16px;
}

@irene-vintage Nothing change again…