Page 1 of 1

How to control the font and text in Search?

Posted: Sun Dec 02, 2018 4:32 am
by EOM
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.

Re: How to control the font and text in Search?

Posted: Mon Dec 03, 2018 12:44 am
by Jack Konings
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

Re: How to control the font and text in Search?

Posted: Tue Dec 04, 2018 8:56 am
by EOM
Hi Jack, great, thank you very much, this works!

Eeva