Search bar change

Discussion in 'ClassiCraft WordPress Theme' started by sneil81, Sep 9, 2013.

Thread Status:
Not open for further replies.
  1. sneil81

    sneil81 New Member

    Joined:
    Aug 18, 2013
    Messages:
    3
    Likes Received:
    0
    Hi,

    Is there a way to remove the category selection from the search bar and only keep the location?
     
  2. Gourav

    Gourav Support Staff

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

    Paste this code in Custom CSS
    Settings > Theme Options > Styling Option > Custom CSS

    Code:
    .search_wrapper .search_item.second{
    display:none;
    }
     
    amaconline likes this.
  3. sneil81

    sneil81 New Member

    Joined:
    Aug 18, 2013
    Messages:
    3
    Likes Received:
    0
    Thanks Gourav,

    I added it to CSS and it removed the middle box but now there is whitespace. Can we increase the size of the remaining 2 boxes in the search bar to fill the whitespace.

    Thanks
     
  4. Gourav

    Gourav Support Staff

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

    Paste this code in Custom CSS
    Settings > Theme Options > Styling Option > Custom CSS

    Code:
    .search_wrapper .search_item.first{
    width:45%;
    }
    .search_wrapper .search_item.third{
    width:45%;
    }
    @media only screen and (max-width: 767px) and (min-width: 480px){
    .search_wrapper .search_item.first{
    width:90%;
    }
    .search_wrapper .search_item.third{
    width:90%;
    }
    }
    @media only screen and (max-width: 480px){
    .search_wrapper .search_item.first{
    width:90%;
    }
    .search_wrapper .search_item.third{
    width:90%;
    }
    }
    This will solve your issue.
     
    amaconline likes this.
  5. sneil81

    sneil81 New Member

    Joined:
    Aug 18, 2013
    Messages:
    3
    Likes Received:
    0
    Thanks Gourav, that did the trick.
     
Thread Status:
Not open for further replies.

Share This Page