(2016-09-11, 06:41 PM)subzr1 Wrote: remove the css code of the search box you have from global.css (mak a backup first just in case)
insert the new css code u have and then its just adjusting by playing a bit with the css

Ok I went ahead and did that. The search box is now added. the code is the following:
<style>
input[type=text] {
width: 130px;
box-sizing: border-box;
border: 2px solid #ccc;
border-radius: 4px;
font-size: 16px;
background-color: white;
background-image: url('searchicon.png');
background-position: 10px 10px;
background-repeat: no-repeat;
padding: 12px 20px 12px 40px;
-webkit-transition: width 0.4s ease-in-out;
transition: width 0.4s ease-in-out;
}
input[type=text]:focus {
width: 100%;
}
</style>
<form>
<input type="text" name="search" placeholder="Search..">
</form>
Now it displays the searchbox in header. I typed "test" and the returned link was:
https://forums.cyberfleet.net/index.php?search=test. It didnt return any results and just refreshed the page.
EDIT: FIXED NOW! Thanks!