Google Custom Search no longer supports using an iframe to host a custom search engine on your page. To host your search engine on your own page (and ensure that you always have the most up-to-date features), you must use the Custom Search element.
To use the Custom Search element, you’ll need to select the display options you want.
Display a search engine using the Custom Search element:
- On the Custom Search home page, click the search engine you want.
- Click Look and feel.
- On the Layout tab, click the layout you want. To replace an iframe, we recommend the Two page or the Results only layout.
- On the Customize tab, click the option you want.
- When you're happy with your changes, click Publish.