We are integrating Google Site Search (Custom Search Engine) into our nopCommerce 3.40 site with the Alfresco theme.
I have it working now on our development site, but I need help understanding how the search box is displayed in two different positions on the Alfresco theme.
What I mean is, on the home page, the searchbox is aligned to the left, whereas it is aligned to the right and positioned lower in the header of all other pages.
To integrate GSS, it was necessary to replace all code on the /Views/Catalog/SearchBox.cshtml with only this code:
<gcse:searchbox-only resultsUrl="http://www.my.domain.name/search" queryParameterName="p"></gcse:searchbox-only>
But now, when viewed in a browser, the searchbox is positioned the same in both home and other pages..to the right?????
So..I want to create a new class in my styles to position the searchbox differently on the home page.
I see this code at the bottom of \Themes\Alfresco\Views\Shared\_Header.cshtml:
I understand it is where searchbox is called for header of all pages.
But, I DO NOT understand from where is it called to appear on the home page so that I can specify a different class for it's div.