DJ_Balogh wrote:What's the process for moving the search back into the header?
The code for the search box is in the Header.cshtml file but I can't seem to figure out how to get it into the actual header on the page.
Any help is appreciated.
Hi,
You can achieve this by following these steps:
1. Go to this file:
\Themes\Nitro\Content\scripts\Nitro.js and find this row:
searchBoxBefore: ".page-title span, .page-title h1",Edit it to be like this:
searchBoxBefore: ".header-links-wrapper",2. Now it should need a little positioning styling, so go to this file:
\Themes\Nitro\Content\css\980.css and find the rule:
.search-box {
...
}
Edit it like this:
.search-box {
font-size: 0;
position: absolute;
top: 45px;
left: 36%;
}
3. In the same file find this rule:
.header-selectors-wrapper {
...
}
and make it:
.header-selectors-wrapper {
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 1;
padding: 10px 0;
text-align: center;
}
That is all you need. I hope everything is clear.