Code
<!--[pnml name="_SEARCH" assign="search_label"]-->
<!--[search active="faqs, stories" label=$search_label class="pnsearchform"]-->
<!--[search active="faqs, stories" label=$search_label class="pnsearchform"]-->
which outputs the following:
Code
<form class="pnsearchform" action="index.php" method="post">
<div>
<input type="hidden" name="name" value="Search" />
<input type="hidden" name="action" value="search" />
<input type="hidden" name="overview" value="1" />
<input type="hidden" name="bool" value="AND" />
<input type="hidden" name="active_faqs" value="1" />
<input type="hidden" name="active_stories" value="1" />
<label for="search_xte_plugin">Search</label>
<input id="search_xte_plugin" type="text" name="q" value="" size="12" tabindex="0" />
</div>
</form>
<div>
<input type="hidden" name="name" value="Search" />
<input type="hidden" name="action" value="search" />
<input type="hidden" name="overview" value="1" />
<input type="hidden" name="bool" value="AND" />
<input type="hidden" name="active_faqs" value="1" />
<input type="hidden" name="active_stories" value="1" />
<label for="search_xte_plugin">Search</label>
<input id="search_xte_plugin" type="text" name="q" value="" size="12" tabindex="0" />
</div>
</form>
the problem is, the search box won't listen to styles.
I declared
Code
//searchbutt
'.pnsearchform { '.$colors['link'].';'."\n".
'font-size:14px;'."\n".
'font-weight: bold;'."\n".
'}'."\n".
'.pnsearchform { '.$colors['link'].';'."\n".
'font-size:14px;'."\n".
'font-weight: bold;'."\n".
'}'."\n".
While the font size and weight correctly conforms to the set values, the text color defaults to text1, regardless if I hardcode it or whatever.
There seems to be something overriding my styling of pnsearchform.
So... how can I change the textcolor of the label of the searchbox?
(P.S. adding a style for label didn't solve the problem either)
Thanks for your help.
