Openprovider offers a white-label pre-registration widget: a small piece of code that you can use on your website to collect pre-registrations. This widget is available via the menu New gTLDs > Pre-registration widget: just copy the iframe-code to your own website and you're ready.
Unless you want to changes the lay-out in order to match your website's style and color. This article describes the CSS which can be customized.
Language
By default, the language is defined by your account settings. But you can provide the widget in any language on your site by changing the language code in the URL. The supported values are:
- en_GB (English)
- nl_NL (Dutch)
- es_ES (Spanish)
- de_DE (German)
- ru_RU (Russian)
Example:
<iframe
width="600"
height="600"
src="https://.../?token=xxx&lang=nl_NL"
frameborder="0"
>
</iframe>
Step 1: domain and extension selection
For easy reference, the numbers in the image refer to the numbers below.
1. Logo
A logo can be placed on top of the widget. By default it's hidden, but you can easily add your own logo:
Original code | Customized code |
#logo { |
#logo { |
2. Headers
By default only the color is changed, but you can change any style element by using basic CSS.
Original code | Customized code |
.gtlds h3 { |
.gtlds h3 { |
3. Domain input
This text area is fully customizable.
Original code | Customized code |
.gtlds #somedomain { |
.gtlds #somedomain { |
4. Category header
Original code | Customized code |
.gtlds .accordion > dt { |
.gtlds .accordion > dt { |
5. 'Toggle all'
Original code | Customized code |
.gtlds h5{ |
.gtlds h5{ |
6. Extension name
Original code | Customized code |
.gtlds .checkbox > span{ |
.gtlds .checkbox > span{ |
7. Extension English meaning
Original code | Customized code |
.gtlds small { |
.gtlds small { |
8. Borders
By default a red border is used, this can be customized.
Original code | Customized code |
.gtlds .steptitle, |
.gtlds .steptitle, |
9. Buttons
By default only the color is changed, but you can change any style element by using basic CSS.
Original code | Customized code |
.button { |
.button { |
Step 2: finish order
10. Active grouping
Original code | Customized code |
.gtlds .sort.active { |
.gtlds .sort.active { |
11. Inactive grouping
Original code | Customized code |
.gtlds .sort { |
.gtlds .sort { |
12. Text
Original code | Customized code |
.gtlds h5{ |
.gtlds h5{ |
13. Error messages
Original code | Customized code |
.gtlds .alert { |
.gtlds .alert { |
14. E-mail address input
Original code | Customized code |
.gtlds .email { |
.gtlds .email { |
15. Result messages
Original code | Customized code |
.msg { |
.msg { |