Support

Home Forums Event Espresso Premium Remove "click here to add a new state/province"

Remove "click here to add a new state/province"

Posted: May 14, 2024 at 9:37 pm

Viewing 2 reply threads


jaybe

May 14, 2024 at 9:37 pm

I have tried the two suggested function.php codes to remove the option to add a new state or province from my forms and neither are working. One *had* been working but at some point, apparently stopped and I’m now seeing the link again on our pages. How can I permanently remove this option?

https://eventespresso.com/topic/how-to-remove-click-here-to-add-a-new-stateprovince-in-ee4/
https://gist.github.com/joshfeck/

Thanks in advance.


Sam

  • Support Staff

May 15, 2024 at 1:14 am

Hi Janice,

Can you please share a direct link to the page/event where exactly you are facing the issue?

Also please let us know the configuration you are using on the website:
(WordPress Version, PHP Version, MySQL Version, Event Espresso Version)

Looking forward to helping you.

Thank you.


jaybe

May 15, 2024 at 9:39 pm

This reply has been marked as private.


Rio

  • Support Staff

May 15, 2024 at 11:45 pm

Hello,

You can remove that using css. You can target that form using this code.
https://monosnap.com/file/RUGTVxDGv41gfGjwMxjVyQMd7f2hmq

#new_state_micro_form{
	display:none;
	
}

You need to go to your WP dashboard -> Appearance -> Customize -> Additional CSS.

thanks

Viewing 2 reply threads

The support post ‘Remove "click here to add a new state/province"’ 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.

Event Espresso