Support Forums for LiveMesh Themes & Plugins › Forums › Invent Theme Support › Google Search
- This topic has 7 replies, 2 voices, and was last updated 7 years ago by Veena.
-
AuthorPosts
-
June 9, 2016 at 3:49 pm #22428amsltsmithParticipant
Hi,
How can I modified the searchform.php to render a google search instead?
I already have the Google search code, but I don’t know where to place it.
I can use it in a widget right now, does the Invent template allow me to put a widget in the top header?
Thank you
June 9, 2016 at 8:24 pm #22438amsltsmithParticipantThis reply has been marked as private.June 10, 2016 at 9:58 am #22448VeenaModeratorYou can copy the html generated code of google search widget and use in header-title-area.php file ; you can paste the code in the same place where you have added the normal search form.
?> <div class="wgs_wrapper"><div id="___gcse_0"><div class="gsc-control-searchbox-only gsc-control-searchbox-only-en" dir="ltr"><form class="gsc-search-box" accept-charset="utf-8"><table cellspacing="0" cellpadding="0" class="gsc-search-box"><tbody><tr><td class="gsc-input"><input autocomplete="off" type="text" size="10" class=" gsc-input " name="search" title="search" id="gsc-i-id1" x-webkit-speech="" x-webkit-grammar="builtin:search" lang="en" dir="ltr" spellcheck="false" style="outline: none; background: url("http://www.google.com/cse/static/en/google_custom_search_watermark.gif") left center no-repeat rgb(255, 255, 255);" vk_11a1e="subscribed"><input type="hidden" name="bgresponse" id="bgresponse"></td><td class="gsc-search-button"><input type="button" value="Search" class="gsc-search-button" title="search"></td><td class="gsc-clear-button"><div class="gsc-clear-button" title="clear results"> </div></td></tr></tbody></table><table cellspacing="0" cellpadding="0" class="gsc-branding"><tbody><tr><td class="gsc-branding-user-defined"></td><td class="gsc-branding-text"><div class="gsc-branding-text">powered by</div></td><td class="gsc-branding-img"><img src="https://www.google.com/uds/css/small-logo.png" class="gsc-branding-img"></td></tr></tbody></table></form></div></div></div> <?php
April 6, 2017 at 9:41 pm #26354amsltsmithParticipantHi,
I lost my search box with the last theme update. I can’t get it to work. Is there any way that I could talk to someone?
Thank you,
Monica
239-687-5442April 7, 2017 at 12:52 am #26356amsltsmithParticipantHi,
This is my website: http://www.avemarialaw.edu/
I added the google search box in the footer, but I would like to place on the header in the top right.
Could you please help me?
Thank you,
Monica
April 7, 2017 at 11:56 am #26359VeenaModeratorHave you tried this solution ?- http://support.livemeshthemes.com/forums/topic/google-search/#post-22448
April 7, 2017 at 1:18 pm #26360amsltsmithParticipantYes, I have tried that, but It isn’t working.
April 11, 2017 at 11:34 am #26372VeenaModeratorOk ll check and get back to you shortly .
-
AuthorPosts
- The forum ‘Invent Theme Support’ is closed to new topics and replies.