Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Basic styling with CSS of the registration form | Event Espresso - Staging Server

Basic styling with CSS of the registration form

The default registration form simply prints out fields with labels, and isn’t exactly a visual stunner. So, I’ve toyed with CSS a bit, and came up with a fairly trivial set of CSS settings that will make the default registration form a lot better.
[s2If current_user_can(access_s2member_level1)]

Note:

This was submitted by a user in our Support Forums. It is provided for reference. We cannot support customizations to your theme or the Event Espresso plugin without the purchase of a support token.

To give you an idea, here’s the registration form with my styling hack applied:


registration form


As you can see, I’ve just moved the text labels a bit to become right-aligned to what now are neatly left-aligned input fields. Also, labels are formated in bold, and the added asterisk of mandatory fields (“questions” in EE parlance) is styled as bold and red to make it stand out a bit more.

Finally, I’ve added a minor tweak also to the text that appears when some mandatory field is not filled out by the registrant, as you can see here:



missing information

Instead of tinkering with the template file – not that there’s anything wrong with that, this is just a very trivial visual clean-up hack – you can include the following to your (child) theme’s style.css file:

/* Event Espresso registration form basic styling */
.event_questions label {
width: 125px;
text-align: right;
float: left;
margin-right: 5px;
font-weight: bold;
}

.event_questions label em {
color: red;
font-weight: bold;
}

.coupon_code label {
font-weight: bold !important;
}

input[type="text"] {
margin-right: 5px;
display: inline;
}

.error {
color: red;
font-weight: normal !important;
}

Hope it’s useful!
[/s2If]
[s2If !current_user_can(access_s2member_level1)]

The page you are trying to access is reserved for Event Espresso Support License holders. Please upgrade your support license for Event Espresso, purchase VIP access or log-in. If you think you are receiving this message in error, contact us.

[/s2If]


Need more help?

  • Browse or search for more information on this topic in our support forums. Customers with an active support license can open a support topic and get help from Event Espresso staff.
  • Have an emergency? Purchase a support token and get expedited one-on-one help!
  • Go back to documentation for Event Espresso
Event Espresso - Staging Server