Copy link to clipboard
Copied
RH8 HTML
Hi all,
I have set the search label for the search input box on the top toolbar to be white and bold. Now I notice that the search text is bold, and black. Im trying to find the setting where I can set this back to normal font weight. bold just doesnt look good.
Ive looked through the skinny on skins, but it doesnt cover this, and I cant find the code anywhere.
Thanks for any tips.
Nick
Copy link to clipboard
Copied
Hi,
I guess your're refering to SetButtonFont("searchform", etc ) in whskin_tbars.jtm. You can modify it to change the style.
Note: You can also change most of this trough the RH skin editor.
Greet,
Willam
This e-mail is personal. For our full disclaimer, please visit www.centric.eu/disclaimer.
Copy link to clipboard
Copied
Yes and No.
I want the SEARCH label to stay bold, but the text entered to be normal. The Skin editor only allows me to set a single font type that controls all.
Looking at whskin_tbars there 2 lines of code
setButtonFont("searchform","Tahoma","8pt","White","Normal","Bold","none");
setButtonFont("searchform","","", "","","","",true);
but any changes affect both im guessing that the top one controls the label, and the bottom is the entry box.
I have tried the following and none work.
setButtonFont("searchform","","", "","","","Normal",true);
setButtonFont("searchform","","", "","","Normal","",true);
Copy link to clipboard
Copied
Hi,
I hope that I now understand correctly what you want to achieve. In the style block in whskin_tbars.htm, add:
input.inputsearchform {font-weight: normal;}
Leave the scripts as they are. The caption will now bold. (If you set that with setButtonFont.) Whatever’s in the box is normal.
Greet,
Willam
This e-mail is personal. For our full disclaimer, please visit www.centric.eu/disclaimer.
Copy link to clipboard
Copied
Perfect, thank you very much!
This e-mail has been scanned for all viruses by Star.