How to change the type of search field on my website

Discussion in 'BlackBird WordPress Theme' started by louanncovi, Nov 16, 2014.

  1. louanncovi

    louanncovi Member

    Joined:
    Jun 12, 2013
    Messages:
    116
    Likes Received:
    1
    Location:
    Sun City West, AZ USA
    I have a search box on my top menu bar, which I would like to remove. Can you tell me how to do this? My website is www.covitravel.com.

    Then - I'd like to add the code below, from Google, to add a search field to my site. Can you help me understand where I should add this code below? I'm not sure how it will appear - or where, so am not sure if I want this on every page or just the home page. Can you help me? Thank you!!

    <script>
    (function() {
    var cx = '006713786952641691993:r0tcljttgve';
    var gcse = document.createElement('script');
    gcse.type = 'text/javascript';
    gcse.async = true;
    gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
    '//www.google.com/cse/cse.js?cx=' + cx;
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(gcse, s);
    })();
    </script>
    <gcse:search></gcse:search>
     
  2. Yogesh

    Yogesh Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,052
    Likes Received:
    41
    Hello,

    You can add this code and remove default code as shown below in screenshot.

    17nov1.png

    Thanks & Regards
    Yogesh Bhade
     
  3. louanncovi

    louanncovi Member

    Joined:
    Jun 12, 2013
    Messages:
    116
    Likes Received:
    1
    Location:
    Sun City West, AZ USA


    I do not have under APPEARANCE - THEME EDITOR (only EDITOR): This is how it appears. Where do I add the Google Code?

    BlackBird Pro Responsive Theme: Stylesheet (style.css)
     
  4. Yogesh

    Yogesh Guest

    Joined:
    Aug 8, 2014
    Messages:
    2,052
    Likes Received:
    41

Share This Page