Posted: 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: |
|
…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 |
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’. |
|
|
I’ve changed the string in poedit, but I’m getting this error when I do it. 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!! |
|
Also, further down in the instructions it says:
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! |
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:
You will want to edit the “wp-config.php” file. |
|
|
Will it stay edited when the site updates? |
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: Change this line: To this: That’ll make the change for you. |
|
|
That worked great. I would also like to change:
to:
Thanks! Laura |
Then you need to add this:
Below this line:
So your strings array looks something like:
|
|
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.