I have not been able to find out how to control the text or the font in the Search box. I'm using a responsive theme.
If I change the text 'Search' in D2H Theme Designer it does not have any effect, the text remains Search. Blanking out the text has no effect either. I would also want to change the font of the Search placeholder, but cannot figure out how to do this.
It would be great if someone could help.
How to control the font and text in Search?
How to control the font and text in Search?
You do not have the required permissions to view the files attached to this post.
-
- Propeller Head
- Posts: 29
- Joined: Mon Nov 09, 2015 8:07 am
- Location: Ede, The Netherlands
Re: How to control the font and text in Search?
Hi EOM,
To change the font of the text in the search box, put following in your user.css:
#c1searchFilter {
font-family: Calibri;
}
'Calibri' is only an example here.
Changing the text itself should work via the Theme designer ('Strings' section of the search settings --> Filter text). You need to recompile your target to see the changes.
Hope this helps
Best regards
Jack
To change the font of the text in the search box, put following in your user.css:
#c1searchFilter {
font-family: Calibri;
}
'Calibri' is only an example here.
Changing the text itself should work via the Theme designer ('Strings' section of the search settings --> Filter text). You need to recompile your target to see the changes.
Hope this helps
Best regards
Jack
Re: How to control the font and text in Search?
Hi Jack, great, thank you very much, this works!
Eeva
Eeva