How to specific customize the country list
-
Hi,
I have a couple of questions please.A. Is it ok to customize the plugin? We need to remove some countries from the list.
B. If it’s ok, then here’s what I’m having a problem with:
1. I’ve deleted some of the countries, because right now we don’t serve globally. (deleted the countries from ../js/countries.json)
*2. For some countries, we’d need to change the country code to serve a specific range of phone numbers rather than all.
For example, for US numbers, the country code is (+1), we need to change it to (i.e: +1 762).
Now I’ve achieved that by editing ../public/js/country-code-selector-public.js
But now the problem is, the block which shows the country code is too small to fit the country code + the range, so now the code is appearing like this:+xxx
xxxinstead of: +xxx xxx
Through Inspect Element, it seems like the width for the block containing the country code is 46px, but I looked at every css file and I couldn’t find this number!
Could you please point me in the right direction to change it?*3. Is it possible to remove the flag?
Thanks.
The topic ‘How to specific customize the country list’ is closed to new replies.