WordPress.org

Ready to get started?Download WordPress

Forums

WP-Members
[resolved] Login Form is not looking perfectly ? (5 posts)

  1. sstk
    Member
    Posted 7 months ago #

    I have used this plugin in a site but it is not working perfectly. I have customized the Login Form as like as I want. It is looking good in the Home page but when it is showing for those content which are blocked for non-members, it is looking a little different. So how can I solve this please ? I am giving the link here: http://pearlandsports.com/ and it is looking differently in post like this: http://pearlandsports.com/premium-content-lady-oilers-hoopsters-preview/ . Thanks.

    http://wordpress.org/plugins/wp-members/

  2. Chad Butler
    Member
    Plugin Author

    Posted 7 months ago #

    You probably have inherited properties (specifically fonts) based on the different sections of the page that you are displaying in.

    I am hoping that the changes you have in the form were made using a filter function and not directly editing the plugin...

  3. sstk
    Member
    Posted 7 months ago #

    I have used same font style. So I think it is not a problem.

    Also I edited the plugin, I didn't use any filter. I got two forms there - one for sidebar and the other is this which I customized. I placed the sidebar form also below of the home page. So I think problem is anything else. If you can please help me.

    Also the registration form below the login form is not showing perfectly though the main registration form is looking great. So please check this also. Thanks.

  4. Chad Butler
    Member
    Plugin Author

    Posted 7 months ago #

    Actually, you may think you have the same font style, but you don't. The computed font for one is Arial Black, but the other is Palatino. This is likely because you do not have the same parent/child classes. (One is .block-content.entry-content, the other is .block-content.loop.post.entry-content).

    I would advise against modifying the plugin code directly. If you do, you will have difficulties when you update the plugin. You would be better off working within the framework of customizing using CSS, changing any HTML via a filter, or writing a custom register form function (which is pluggable). There is more info here: http://rocketgeek.com/plugins/wp-members/users-guide/customizing-forms/

  5. sstk
    Member
    Posted 7 months ago #

    Thank you for your information but I am not sure, if you have understood my problem ? I am not speaking about the font problem rather I am speaking about the positioning problem of the texts in different places than the front page. I am giving you an image link. Please take a look on it. http://sitepreview.net63.net/wp-content/uploads/2013/12/screenshot-2.jpg

    Also thanks for your suggestion. I know if I update the plugin then my changes would disappear. But for some purposes I changed the plugin file directly, for example - removing some texts like "Forgot password?", "New User?" and for changing some texts like "Click here to reset", I changed it to "Forget Password" etc. So is there any other way for doing these type of works? I think for this purpose you have said for using "Pluggable" function but I am not fully clear about it though I read details of your link. I also read this page: http://rocketgeek.com/plugins/wp-members/users-guide/filter-hooks/wpmem_login_form/ . So if you can please help me a little more.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.