Google Custom Search Form Styling Broken

lise
Member

Screen Shot 2017-04-10 at 10.56.07 AM.png

Hello,

I am adding a google custom search to our blog, and when I add the Custom Script from Google to my module the botton and text field appear squished. Anyone else run into this? I posted an image so you can see what I am running into. Thanks!

0 Upvotes
1 Reply 1
ChadP
Contributor

The best solution that i have found is to split your search code into two your form and your results. Create a custo form with the action to the url of the page where the results code it. the input should have a name of s or q and it can submit just like any other form. That way you dont have to use the google custom search form.

0 Upvotes