how can I completely hide the country code for the telephone number in the form, as a booking is only possible with a German telephone number, the country code and the country selection must be deactivated.
For that purpose, you can first set the "Default phone country code" option to "Germany" on the Amelia/Settings/General page.
And also, add this CSS:
#amelia-container > div.am-fs__main > div > div.am-fs__main-content.am-fs__info.am-fs__main-content > form > div:nth-child(4) > div > div > div > div.m-select.--is-open.m-phone-number-input__select > div.m-select-list{ display:none !important; }
Hello,
how can I completely hide the country code for the telephone number in the form, as a booking is only possible with a German telephone number, the country code and the country selection must be deactivated.
See screen.
Regards Paula
Attached files: Bildschirmfoto 2024-07-09 um 08.20.56.png
Hello Paula,
Thank you for reaching out to us.
For that purpose, you can first set the "Default phone country code" option to "Germany" on the Amelia/Settings/General page.
And also, add this CSS:
Let me know if that works for you or not.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables
Hello Uroš ,
unfortunately it does not work.
When I enter the code:
#amelia-container div.m-select-list{
display:none !important;
}
the selection list with the countries is no longer visible, but the German flag and the icon are still visible. This should also be hidden.
I tried it myself, but without success. do you still have a solution.
Regards Paula
Hell Paula,
Please try the following CSS as well and let me know if it works or not:
Looking forward to your reply.
Kind Regards,
Uros Jovanovic
[email protected]
Rate my support
Try our FREE mapping plugin! MapSVG - easy Google maps, interactive SVG maps, and floor plans, choropleth maps and much more - https://wordpress.org/plugins/mapsvg-lite-interactive-vector-maps/
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables