I have a Search Bar on the home page, instead of just saying “Search” I would like to change it to “Search by Course Code or Subject Keywords”
How do I do that?
Thanks!
Hi ontariotraining!
Paste this inside a codeblock element.
<form action="http://ontariotraining.net/" id="searchform" method="get" class="">
<div>
<input type="submit" value="" id="searchsubmit" class="button avia-font-entypo-fontello">
<input type="text" id="s" name="s" value="" placeholder="Search">
</div>
</form>
And then change the placeholder text, “Search” to whatever you want.
Regards,
Elliott
Thanks… how do I make it the full width (width of the picture below it) like it was before?
Hi!
Add this to your custom CSS.
#top #searchform>div {
position: relative;
max-width: 100% !important;
}
Best regards,
Elliott
Hmmm… that did not seem to work.
I added it to the Custom CSS in file manager (tried the quick CSS originally within the theme settings).
Hey!
Perhaps you have a typo somewhere in your other CSS. Try adding it to the very top of your Quick CSS.
Cheers!
Elliott