Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember – shortcode for login to be different for different uses?
- This topic has 6 replies, 2 voices, and was last updated 9 years, 9 months ago by wzp.
-
AuthorPosts
-
February 2, 2015 at 6:38 am #12151Shobha22Member
Hi, On my site at shobhaponnappa.com, I have used the shortcode [wp_eMember_login] in two places. I have used it once in the sidebar and I have used it once on the page [http://shobhaponnappa.com/login-or-registration/]
(As you can see I have chosen to drop the join-us page totally and let the “Join Us” link lead directly to a page where a member can either login or register. This saves one step for the user).
On the sidebar login form I want the word “Join Us” to be retained. But on the page [http://shobhaponnappa.com/login-or-registration/] where I have shown the login form again I want to remove the words “Join Us”. How do I achieve this?
Also one more small help. The font size of the words “Forgot Password” and “Join Us” are too small. Is there any way to tweak the font size only for the login form/shortcode and not any other widget or CSS on my site?
February 2, 2015 at 2:13 pm #68391wzpModeratorOn the sidebar login form I want the word “Join Us” to be retained. But on the page [http://shobhaponnappa.com/login-or-registration/] where I have shown the login form again I want to remove the words “Join Us”. How do I achieve this?
The [wp_eMember_login] shortcode is “placement agnostic,” so it is not possible to easily change it to selectively display the registration link. However, if you were to use THAT shortcode on the login page, and one of the alternative login shortcodes from the Extra Login Shortcodes addon on the sidebar, or vice versa; it is possible to exclude the registration link from whichever one you choose, because now we are dealing with 2 different shortcodes.
https://www.tipsandtricks-hq.com/wordpress-membership/wp-emember-extra-login-shortcodes-addon-1094
The font size of the words “Forgot Password” and “Join Us” are too small. Is there any way to tweak the font size…
- Install the Custom CSS plugin:
https://www.tipsandtricks-hq.com/wordpress-custom-css-plugin-6413
- Add the following Custom CSS code:
.forgot_pass_link{
font-size:200%;
}
.register_link{
font-size:200%;
}
February 4, 2015 at 6:52 am #68392Shobha22MemberThanks for the CSS codes. Could you also please give me the CSS code for two more small changes?
1. I want to change the blue background color of the REGISTER and LOGIN button to grey (#a5a7a8). Please give me the CSS code for this.
2. Also after someone has logged out successfully there is a message saying “You have logged out successfully” in green colour. I want to increase the font size of this also.
Thanks and regards,
Shobha Ponnappa
February 4, 2015 at 3:24 pm #68393wzpModerator- Checking you site, I see that you already managed to change the button colors.
- .emember_ok{font-size:200%;}
February 5, 2015 at 5:26 am #68394Shobha22MemberNo actually you may have seen some other button on my site. The buttons related to WP eMember are still blue (see page [http://shobhaponnappa.com/template-library/] and also sidebar login button. These I need to change to grey (#a5a7a8). What is the CSS code for that?
Thanks and regards.
February 5, 2015 at 4:01 pm #68395Shobha22MemberThanks. I managed to change the button color myself. Thanks again for your help.
February 5, 2015 at 4:15 pm #68396wzpModeratorinput.eMember_button {background-color: #a5a7a8;}
- Install the Custom CSS plugin:
-
AuthorPosts
- You must be logged in to reply to this topic.