-
Author
-
February 4, 2015 at 11:52 #44663alkrossParticipant
Hi, how can customize the Modal Login
i.e set the Facebook login with not at the top but before the login button?
In registration form the login with Facebook is full width
I try to set the class to
.kleo-fb-wrapper.text-center{width:50%}
but the css class is the same used in modal pop-upBest regards
February 4, 2015 at 16:13 #44698sharmstrModeratorcopy /kleo/page-parts/general-popups.php to your child theme and customize to your liking.
Put #buddypress in front of the css to isolate it to the registration form.
COPY CODE#buddypress .kleo-fb-wrapper.text-center { width: 50%; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
February 4, 2015 at 23:15 #44737alkrossParticipantThank you but I didn’t understand how to move Login with Facebook under sign in button
Best RegardsFebruary 4, 2015 at 23:20 #44738sharmstrModeratorSorry. My mistake. The fb button is added using an action. Instead of copying the file, try this in your functions.php file
COPY CODEremove_action( 'kleo_before_login_form', 'kleo_fb_button', 10 ); add_action( 'kleo_after_login_form', 'kleo_fb_button', 10 );
If that moves the fb button, but not exactly where you want it, then you will have to edit the page I gave you before. Good luck.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
February 5, 2015 at 06:41 #44764alkrossParticipantThanks I had move the function in template page but this solution in better
February 5, 2015 at 06:55 #44767alkrossParticipantSorry, but the remove_action( ‘kleo_before_login_form’, ‘kleo_fb_button’, 10 ); doesn’t remove FB
Now I have two Facebook login buttonsFebruary 5, 2015 at 14:37 #44812sharmstrModeratorTry this instead
COPY CODEadd_action( 'after_setup_theme', 'move_fb' ); function move_fb() { remove_action( 'kleo_before_login_form', 'kleo_fb_button', 10); add_action( 'kleo_after_login_form', 'kleo_fb_button', 10 ); }
You’ll have to sort out styling of the fb box when its on the bottom.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.