I just added Adwords to my site and now I want to add the Google search bar. Unfortunately it won't fit inside of my template. Can I keep my search bar, but change its attributes to fit Google's needs? www.newshotstudio.com
Sure, just find this string of text in your search bar code: <input type="text" name="q" size="31" Code (markup): Adjust the size attribute to suit your needs.
What about the google search won't fit your template? You can change the colors and all that so that it blends in. The only thing that would be different is that you'd have Google on the button. I blended mine in by changing the background color and I like the way it looks: http://mydatamaster.com/ You can also change the dimensions to make it fit in the space.
No, you have to use Google's search bar. If you really want it on your site, you'll have to modify your template.
You can change the size of the text field, but you really can't change the size of the whole box, 'cause of the radio buttons. On NewshotDCB's page, the radio buttons will make the box too wide for the template. At least, as far as I know..
Thats the problem. I put in the search bar and the right wall of the box disappears. I did make it as small as possible which is "13" but it still didn't work.
The problem occurs when I add in the search bar. I want to add it, but then things get all screwed up. That's why I want to use my search bar, but programmed with Google's settings.
I can't resize it to fit in the alloted space. I would like to keep my search bar and use their service though.
Maybe if you disable SiteSearch you can get it to fit in that space, but then it won't search your site, it'll search the Web. Even so, you can't keep your search bar, because you would have to modify Google's javascript, which is against their TOS.
Can I use google's site search feature without profiting? I would just like my visitors to be able to search through my pages.
I suppose that if you don't put your Publisher ID in the search box code, you won't profit from it. However, you can set up the search box to only have Web Search (searches the whole Net), or both WebSearch and SiteSearch (only your site), but you can't have it only search *your* site. In other words, if you want your users to be able to search your site with Google's searchbox, it will always have the two options: "Web" and "www.newshotstudio.com".
<form method="get" action="http://www.google.com/custom" target="_top"> <table border="0" bgcolor="#000000"> <tr><td nowrap="nowrap" valign="top" align="left" height="32"> <input type="hidden" name="domains" value="www.newshotstudio.com"></input> <label for="sbi" style="display: none">Enter your search terms</label> <input type="text" name="q" size="31" maxlength="255" value="" id="sbi"></input> <label for="sbb" style="display: none">Submit search form</label> <input type="image" src="images/sitesearch_button.gif" alt="Go" class="button" /></input> </td></tr> <tr> <td nowrap="nowrap"> <table> <tr> <td> <input type="radio" name="sitesearch" value="www.newshotstudio.com" checked id="ss0"></input> <label for="ss0" title="Search the Web"><font size="-1" color="#000000">Web</font></label></td> </tr> </table> <input type="hidden" name="client" value="pub-id"></input> <input type="hidden" name="forid" value="1"></input> <input type="hidden" name="ie" value="ISO-8859-1"></input> <input type="hidden" name="oe" value="ISO-8859-1"></input> <input type="hidden" name="cof" value="GALT:#008000;GL:1;DIV:#336699;VLC:663399;AH:center;BGC:FFFFFF;LBGC:336699;ALC:0000FF;LC:0000FF;T:000000;GFNT:0000FF;GIMP:0000FF;FORID:1"></input> <input type="hidden" name="hl" value="en"></input> </td></tr></table> </form> PHP: this will have it look the way it is now and it will search your site by default.you wont see the radio buttons. in style.css remove float: right; in #sitesearch input.button { btw,you need to look at your site in IE.
Why don't you take a look at this, it might be what you want: http://www.seomoz.org/ugc/how-to-put-google-custom-site-search-into-your-current-website-design