Tips and Tricks HQ Support Portal › Forums › WP eMember › Add CSS class to automatically generated item in WP eMember
- This topic has 15 replies, 3 voices, and was last updated 2 years, 8 months ago by admin.
-
AuthorPosts
-
June 6, 2017 at 7:11 am #14294clearscopedesignParticipant
Could you please add a CSS class to the <p> tag that displays the following message upon registration submission:
“Thank you for registering. Your account is pending approval by an administrator.”
June 7, 2017 at 1:03 am #75802adminKeymasterYep sure.
June 8, 2017 at 12:13 am #75803clearscopedesignParticipantThank you!!!
If you could please just let me know once that has been applied that would be most appreciated.
June 8, 2017 at 11:01 am #75804adminKeymasterI have sent a copy to you via email.
June 8, 2017 at 10:53 pm #75805clearscopedesignParticipantThank you!!!
October 17, 2017 at 3:11 am #75806clearscopedesignParticipantCould you please add a
<p>
or<span>
tag around the following text that appears within the password reset form, along with a CSS class so that this text may be targeted or hidden if desired: Please enter your e-mail address. You will receive a new password via e-mail.Additionally, could you please add a CSS class to the existing span tags that appear when the form has been submitted, so that these may also be targeted:
<span style="color:green;">Your new password has been emailed to you.</span>
<span style="color:red;">User with this email address doesn't exist.</span>
Thank you!
October 18, 2017 at 6:50 am #75807adminKeymasterI have actually reworked that very recently. The message is output like the following (so there is a div with a CSS class that is wrapped around the message so you can target it):
<div class=”emember_password_reset_success_msg emember_ok”>Your new password has been emailed to you.</div>
The following is output for the wrong email address error:
<div class=”emember_password_reset_error_msg emember_error”>User with this email address doesn’t exist.</div>
If you get a new build of the plugin, you should see that change.
November 1, 2017 at 2:05 am #75808clearscopedesignParticipantOk great, thank you!
January 24, 2019 at 1:29 am #75809clearscopedesignParticipantCould you please add a unique class or id at some point to the {li} items within the [wp_eMember_login] form, when logged-in, so that we can have control over the display of those items. This is for the “Logout” and “Edit Profile” buttons that appear within the
{ul} of that form when the user is logged-in.
This is not an urgent request at all, but if it’s possible to add a class or id to those items at some point that would be much appreciated as it would be great to have control over the display of those elements.
Many thanks
March 22, 2019 at 3:02 am #75810clearscopedesignParticipantCould you please implement this at some point?
Since you force the “Edit Profile” button onto the logged-in widget, and since there are no classes applied to those {li} items, there is no way for us to hide that button using CSS.
So, because we do not want that button to appear, we leave the “Member Profile Edit Page” URL field blank as that is the only way for us to get that button to not appear. However, since that URL field is a mandatory field, every time we update to a new version of eMember the eMember system automatically populates that field again and creates a new page for it, which we then have to delete, which is rather frustrating.
If you could please add a unique CSS class or ID to the {li} within the [wp_eMember_login] (i.e. the eMember_logged_widget) so that we can have display control over them, that would be much appreciated.
March 23, 2019 at 6:20 am #75811adminKeymasterI have added this and sent you an updated copy of the plugin.
March 23, 2019 at 11:19 pm #75812clearscopedesignParticipantPerfect, thank you!!!
March 7, 2022 at 7:16 pm #84241clearscopedesignParticipantCould we please request that a CSS class or ID be added to the <p> tag that wraps the default text that appears above the registration form for the auto-reg process, so that said text may be styled? I am referring to the default text / <p> element that appears above the registration form, after the user has clicked the link from the “Complete your registration” email. Presently there is no way to target that text/element with CSS.
Thank you!
March 8, 2022 at 1:35 am #84242adminKeymasterPlease copy and paste the exact text/message (to make sure we are looking at the correct message) that needs a CSS class or ID. We will take a look and work on it.
March 21, 2022 at 10:02 pm #84269clearscopedesignParticipantThe text reads as follows:
“Please choose your username and password below to complete the registration.”
Thank you
-
AuthorPosts
- You must be logged in to reply to this topic.