• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Set font weight in search input field

Participant ,
May 26, 2010 May 26, 2010

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

search.gif

Views

957

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 26, 2010 May 26, 2010

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 26, 2010 May 26, 2010

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);

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 26, 2010 May 26, 2010

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
May 26, 2010 May 26, 2010

Copy link to clipboard

Copied

LATEST

Perfect, thank you very much!

 

This e-mail has been scanned for all viruses by Star.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp