Posted: May 26, 2015 at 1:21 pm
|
At the end of my system questions, there is a link titled “click here to add a new state/province”. We will never register anyone outside of the state of Illinois and we see no point in having this available to our registrants – It will only confuse them. Is there a way to eliminate this from their view? |
Hi Sue, You can inspect any element on a page using a free tool like Chrome Developer Tools (available with Google Chrome) or Firebug (available as a web browser extension). This will show you the CSS that is handling the styling including the file and line number. Then you can add new styling to your child theme’s stylesheet or via a plugin that adds an additional stylesheet to your WordPress site such as My Custom CSS or Reaktiv CSS Builder. Try this CSS: .ee-form-add-new-state-lnk.display-the-hidden.smaller-text {display:none;} Then refresh the page to see the changes. This article also has information on finding elements in other areas of Event Espresso and hiding them: https://eventespresso.com/wiki/hide-certain-elements-event-espresso-pages-using-css/ — |
|
|
I tried your css (I have “My Custom CSS” installed) and it didn’t work. |
Hi, I tested that on the current release before posting it. Is your software up to date? — |
|
|
We are using wordpress 4.2 and event espresso 4.6.23.p |
Hi Sue, Please go ahead and update your software: https://eventespresso.com/wiki/ee4-changelog/ Thanks — |
|
|
Do I need to update wordpress first? If not this time, is there a certain order that you are supposed to update? IE., WordPress first, then plug-in or vice-versa? |
Hi, update Event Espresso and then update WordPress to the current release. Be sure to backup to the current release. Also, you are likely aware by now but we provide examples for CSS that are compatible with the latest release so if one of our examples doesn’t work, then double-check that your software is up-to-date. Thanks — |
|
|
I’ve asked our Admin to update both tomorrow. I will follow up once he lets me know they’ve been updated. |
|
We are now running Event Espresso 4.6.29.p with wordpress 4.2 and Custom CSS plug-in and the CSS code appears to be working now. Thank you. |
The support post ‘New State or 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.