search icon is invisible but the search button still works, uses the fabric theme.
I have made some edits to the code, and I have found the mobile search icon shows up on an unedited fabric theme template.
You’ve added padding on button:
.button {
padding: 10px 25px; /* <--- THIS! */
font-size: 16px;
cursor: pointer;
/* Customization options */
color: #ffffff; /* Text color */
background-color: #00000000; /* Button background color (transparent) */
border: 2px solid #00000000; /* Border size and color */
border-radius: 6px; /* Rounded corners */
transition: background-color 0.3s ease, border-color 0.3s ease;
}
Padding leaves no space for icon to show if total element width is also set.
Add this to fix:
button.header-actions__action {
padding: 0;
}
Hello @user1201 ,
I hope you are well!
Can you please share the store URL? It will be helpful for us to provide you the css which will show the search icon.
Hi @user1201,
Please send the website link, I will check it for you
wow that was so simple. I put the code into my header’s custom css and it worked. god bless people like you ![]()
Hi @user1201,
It’s my pleasure ![]()
