Search function in navigation menu
Hello! It looks like there is a search function in the menu but the icon is a box. I cannot find where this is located in order to change the icon. I looked in my menus but cant seem to find it. Could someone assist me with that? I’m using the Hello Boho theme.
If you go to line 1203 in your style sheet you will see the section that will modify the icon. It is using a font awesome icon, and you should be able to swap it to any other icon you would like.
I would like the search icon, but it’s showing a box instead. This is what I see in the style sheet and I’m not sure where I put the typical: . I copied and pasted my coding in the style sheet below:
li a.icon-search:before {
font-family: FontAwesome;
font-weight: normal;
font-style: normal;
text-decoration: inherit;
content: “\f002”;
}
li a.icon-search {
cursor: pointer;
font-size: 12px;
}
/*li a.icon-search:hover {
border-bottom: none;
}*/
If it is showing as a box, then it may be that your site is blocking the outgoing script. You can get around this by installing the font awesome plugin.
I had the same issue with the HelloChic theme. I just fixed it by getting that plugin (thank you!) Is there another way to fix it so I don’t have so many plugins?
It can be changed to a different icon style, then you can remove the font awesome plugin.
are there instructions I can find that would tell me how to do that?
Just following up on this. How do I change it to a different icon style so I can remove the Font Awesome plugin? I need to downsize my plugins
You can call in an image. Or see if your host is blocking Dashicons and change it to the dashicon icon, if they are not.
Are there instructions on how to “call in an image”? or how to change it to a Dashicon?
On line 992 change the font to Dashicons and then the content to “\f179”
Ok thank you very much
Please login or Register to submit your answer