How do I remove Location from Search - code listed doesn't work

Discussion in 'ClassiCraft WordPress Theme' started by killista, Feb 28, 2014.

  1. killista

    killista Guest

    Joined:
    Feb 26, 2014
    Messages:
    9
    Likes Received:
    0
    Hi, how can I remove the location listed on the search bar? I tried the code:

    #search_location {
    display: none;
    }

    but it doesn't work for me.
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Could you please explain your problem with the help of screenshot, what you want to do and also share the link of your website, so that we can give you the exact solution.

    Thanks & Regards
    Gourav Shrivastava
     
  3. killista

    killista Guest

    Joined:
    Feb 26, 2014
    Messages:
    9
    Likes Received:
    0
    Thank you for the follow up. Here are two screen shots. The first one (searchbar) shows what I am trying to remove. The location box. If I can remove location, can I add a different field? Perhaps one that I created?

    The second screen shot(styling) shows where I put the code. I do have two other entries which I have listed to the right of the box to show the order. I framed out the location removal entry which is the last one in the section.

    My website is jbczpub.com
     

    Attached Files:

  4. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    For this open "multiple_search.php". Remove code highlighted and add your field code there.

    search.png


    Thanks & Regards
    Nitesh Raghuwanshi
     
  5. killista

    killista Guest

    Joined:
    Feb 26, 2014
    Messages:
    9
    Likes Received:
    0
    I'm not sure if I followed the instructions correctly as I do not see any change. I replaced the line highlighted (search_loc with search_ad_id). Please see attached.
     

    Attached Files:

  6. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello,

    Checked your attachment. You are removing correct code. Please check whether you are saving changes correctly or not.
    You want to add another field in place of location field. So just replace code highlighted with your code.
    It will work.

    Or

    Send your dashboard detail
    Username and password.
    And the code which you want to add.
    I will add it at your site.

    Thanks & Regards
    Nitesh Raghuwanshi
     

Share This Page