| how to remove the search box from the results page? | articlelog | 11/09/30 8:07 | I have create a Google CSE with results only layout and set the page where I need the results to be displayed. Added the Search box code to my header, and the search results code to my results page. My problem is when something is searched, the res |
| Re: how to remove the search box from the results page? | hxu-cse | 11/09/30 18:23 | Looks like you used the two-page hosting option instead of results-only. You can go to your CSE control panel's Look and Feel tab, select the Results-only hosting option, click the "Save & Get Code" button, and then copy and paste the code snippet to |
| Re: how to remove the search box from the results page? | hxu-cse | 11/09/30 18:24 | btw, take a look at the example here (you can use your existing search box code):http://googlecustomsearch.appspot.com/element/layoutdemo/results-only_form.html |
| Re: how to remove the search box from the results page? | Gulshan Sahu | 11/10/01 6:15 | thanks |
| Re: how to remove the search box from the results page? | articlelog | 11/10/02 6:38 | Hi thanks for the solution. Now the search box has disappeared, but along with that google ads also not showing. I need them also. Please suggest me a solution. |
| Re: how to remove the search box from the results page? | hxu-cse | 11/10/03 17:39 | Taking a look... |
| Re: how to remove the search box from the results page? | hxu-cse | 11/10/04 17:07 | It likely hits a corner case that we'll fix asap. In the meantime, could you try if removing "display:table" from the following style sheet can work around this? /* Entry */ .entry { display: table; padding: 10px 0 10px 0; line-height: 19px |
| Re: how to remove the search box from the results page? | articlelog | 11/10/05 4:48 | I tried removing "display:table" from the style sheet, but still ads are not appearing. No again I changed to Two Page option and ads are appearing. But couldn't find a solution to remove the 2nd Search Box. Thanks for your help. |
| Re: how to remove the search box from the results page? | hxu-cse | 11/10/27 21:44 | This should have been fixed. Could you verify? Thanks! |
| Re: how to remove the search box from the results page? | CyberData | 11/12/31 2:05 | The solution is simple just add this line... options.enableSearchResultsOnly(); into the code. var options = new google.search.DrawOptions(); options.setAutoComplete(true); options.enableSearchResultsOnly(); customSearchControl.draw('cse', opti |