Support

Home Forums Event Espresso Premium Remove the border around the registration forms

Remove the border around the registration forms

Posted: January 26, 2018 at 5:04 pm


TOCIFT

January 26, 2018 at 5:04 pm

How can I remove the border around the registration forms where it says attendee 1, attendee 2, etc.?

Example image:
https://gyazo.com/999eccee049e9ba527cf89343b505189


TOCIFT

January 28, 2018 at 5:21 pm

…Or. Can I change the wording in the registration checkout from attendee 1, attendee 2, etc. to Registration 1, Registration 2 etc. That may work better for our needs.

Thanks, Laura


Tony

  • Support Staff

January 29, 2018 at 5:04 am

Hi Laura,

To remove the border you can use this CSS:

#spco-attendee_information-dv .ee-reg-form-attendee-dv {
    border: none;
}

To change Attendee X to Registration X you’ll need to ‘translate’ the string used, we have some documenation on how to translate strings in EE here:

https://eventespresso.com/wiki/how-to-change-wording-with-poedit/

The string you need to translate is ‘Attendee %d’, the %d is a placeholder for the number, so you translate that to ‘Registration %d’.


TOCIFT

January 29, 2018 at 8:48 pm

I’ve changed the string in poedit, but I’m getting this error when I do it.
https://gyazo.com/45b751becb44c6550e815390f2c65b4b

I don’t want to upload something that will mess anything up.

Also, once it’s working right, will these changes stay in place with updates?

Thanks!!


TOCIFT

January 29, 2018 at 9:00 pm

Also, further down in the instructions it says:

7) Edit your wp-config.php file. Where it says

define(‘WPLANG’, ”);
change it to

define(‘WPLANG’, ‘en_US’);
Obviously if your main language is not American English it is likely that this has already been changed to the correct language but you may need to check, especially if your changes are not occurring.

I’ve never changed my functions.php file before. I am using the child theme for Conference Pro and I do have the file available. Currently is says: <?php

I can locate the theme’s functions.php file and probably locate the text that needs to be brought into the child file for changes, but I’m not sure of the syntax. Can you help me? Or is this even the correct file?

Thanks again!


Seth Shoultes

  • Support Staff

January 30, 2018 at 9:05 am

Hi there,

I would recommend making a copy of the existing language file, then uploading the new file in it’s place. That way, if something goes wrong with the new file, you can just replace it with the old file.

Regarding your last question about editing the “functions.php” file. That’s the wrong file. You will need to edit the “wp-config.php” file, which is located in the WordPress root directory (where WordPress is installed on your server), which is probably the “/public_html/” folder on the server. The root directory should have a list of files similar to this:

  • index.php
  • license.txt
  • readme.html
  • wp-activate.php
  • wp-blog-header.php
  • wp-comments-post.php
  • wp-config-sample.php
  • wp-config.php < --- THIS FILE
  • wp-cron.php

You will want to edit the “wp-config.php” file.


TOCIFT

January 31, 2018 at 11:05 am

Will it stay edited when the site updates?


Tony

  • Support Staff

January 31, 2018 at 11:56 am

To answer your question, if you edit wp-config.php and then update WordPress then yes that customization remains, however you don’t need to make the above modification as WP allows you to set the site language now.

If you are comfortable editing your theme’s functions.php file then you can use a function like this:

https://gist.github.com/Pebblo/4c819243acfee1ce36b1

Note that does go in your functions.php file, not in wp-config.php.

Remove this line: 'Attendee Information' => 'Participant Information',

Change this line: 'Attendee %d' => 'Participant %d',

To this: 'Attendee %d' => 'Registrant %d',

That’ll make the change for you.


TOCIFT

January 31, 2018 at 5:03 pm

That worked great. I would also like to change:

Use Attendee #1’s information for ALL attendees

This option allows you to use the above information for all additional attendee question fields. Please note: some events may have additional questions that you may still be required to answer in order to complete your registration.

to:

Use Registrant #1’s Sponsor information for ALL Registrants

This option allows you to use the above information for all Sponsor question fields. Please note: some events may have additional questions that you may still be required to answer in order to complete your registration.

Thanks!

Laura


Tony

  • Support Staff

February 1, 2018 at 4:00 am

Then you need to add this:

'Use Attendee #1\'s information for ALL attendees' => 'Use Registrants #1\'s information for ALL attendees',

Below this line:

'Attendee %d' => 'Registrant %d',

So your strings array looks something like:

$strings = array(
    'Attendee %d' => 'Registrant %d',
    'Use Attendee #1\'s information for ALL attendees' => 'Use Registrants #1\'s information for ALL attendees',
    // Add some more strings here
);

The support post ‘Remove the border around the registration forms’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 2 weeks, 5 days ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!