Google Custom Search (CSEv2) help on styling?

后端 未结 6 786
星月不相逢
星月不相逢 2020-12-10 05:59

I need help on styling the Google Custom Search Box (not the results)

Old styles were using the form tags, where you could easily style the look &

6条回答
  •  执笔经年
    2020-12-10 07:00

    On the CSE page,

    1. Choose the search engine, which you want to style.
    2. Click on Look and feel
    3. Click on the Customize tab

    This has options for theming any component of CSE that you wish to style.

    Update

    If you want more options than those offered in the control panel, you'll have to use the API, an example of using it is at the bottom of the page.

    You would particularly be interested in Custom Search Element Control API, where you can specify which HTML tag, the id of the element, which you can then stlye.

    Sample Demo :

提交回复
热议问题