- This topic has 4 replies, 2 voices, and was last updated 14 years, 9 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember General Questions › We eMember widget
Tagged: css, log in box, PHP, styling, widget
Hi,
I’m trying to style the widget, to make it smaller in the sidebar. I’ve worked-out how to get the fields smaller and the text, but need to get into the actual widget code to modify it further as the whole thing is in tables, styled in the php.
The problem here is I can’t work-out which of the many files is the widget. It’s bizarre!
Thanks for any help!
L.
It’s in the “wp_eMember1.php” file… search for the following line:
function eMember_login_widget()
Ah. that’s odd because when I look at the code it’s all in a table:
And it’s this code I need to get at in order to shrink the fields somewhat and change the cellpadding and cellspacing. There’s nothing in the php file above that has that is there?
Ah – found it.
The code that makes the fields work is in function eMember_login_widget()
The code for the table it sits in is in function wp_emember_js()
And here we have Problem Solved!
Thanks!
L.
Or not. What I just found is for getting a new password. The code definitely looks like this though. Just with Login_User_Name and Login_pwd instead of the email fields.
If I can find this then it’s problem solved
Search for the following line in the “eMember_misc_functions.php” file:
function show_login_form()