Support » Plugin: WPAdverts - Classifieds Plugin » location dropdown

  • Resolved kowalski

    (@jankowalski)


    i have set location to dropdown list, but i need to hide subcategories, only list countries, and disable multiselect, just regular dropbox. please advise..

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    I understnad you mean the Location [adverts_list]? If so then add the following code in wp-admin / Appeareance / Customize / Additional CSS panel

    
    .adverts-multiselect-options label {
        display: none;
    }
    .adverts-multiselect-options label.adverts-option-depth-0 {
        display: block;
    }
    

    not working for me!

    Plugin Author Greg Winiarski

    (@gwin)

    Try post fixing the CSS rules with !important or pre fixing path with “body” like this

    
    body .adverts-multiselect-options label {
        display: none;
    }
    body .adverts-multiselect-options label.adverts-option-depth-0 {
        display: block;
    }
    

    ok works now, subcategories are hidden, but it is still multiselect, i need a regular dropdown menu…

    Plugin Author Greg Winiarski

    (@gwin)

    The MAL add-on does not have such option.

    ok i use google autocomplete at the end. but…

    I d like to use geolocation to enter default value into the box for given country.
    for instance if customer is from united states i would like him to see only classifieds from united states instead of worldwide.

    Plugin Author Greg Winiarski

    (@gwin)

    As far as i know the Google Places Autocomplete API does not allow to set a default value.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘location dropdown’ is closed to new replies.