Login – preselection hide the login

This topic has 16 replies, 2 voices, and was last updated 5 years, 1 month ago ago by Rose Tyler

  • Avatar: Tagbag
    Tagbag
    Participant
    February 5, 2019 at 13:05

    Hey,

    i have a little issue. You know the preselection, if you fill a input field? If want to use the preselection in the login form, the login form will get hide. Is there any solution.

    login-form

    Regards
    Joey

    15 Answers
    Avatar: Tagbag
    Tagbag
    Participant
    February 5, 2019 at 13:11

    sometimes it work..

    i think..

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 5, 2019 at 16:23

    Hello,

    Please do some additional customization in files on your child theme.
    1) Add this code in xstore-child/js/etheme.js

    $(document).ready(function(){
         let navbar = $('.navbar-header');
         navbar.on('click', '.login-link > a', function(e){
         	e.preventDefault();
         	let _this = $(this).parents('.login-link'),
         	sub = _this.find('.menu-main-container');
         	if ( (e.target).closest('.login-link .menu-main-container') ) return;
         	sub.toggleClass('active');
         });
    
    });

    2) xstore-child/functions.php – add –

    function etheme_enqueue_scripts_custom() {
    	wp_enqueue_script('etheme-child', get_stylesheet_directory_uri().'/js/etheme.js',array(),false,true);
    }
    
    add_action( 'wp_enqueue_scripts', 'etheme_enqueue_scripts_custom');

    3) xstore-child/style.css

    .login-link:hover > .menu-main-container:not(.active) {
    	opacity: 0;
    	visibility: hidden;
    }
    .login-link > .menu-main-container.active {
    	opacity: 1;
    	visibility: visible;
    }

    Let me know the result.

    Regards

    Avatar: Tagbag
    Tagbag
    Participant
    February 6, 2019 at 01:59

    i did not get the xstore-child/js/etheme.js in my xstore-child folder. I have just one in the xstore folder :/

    Cheers

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 6, 2019 at 08:52

    You need to create js folder inside the child theme, then create etheme.js file there. Please do this via FTP (not via default WP Editor).

    Regards

    Avatar: Tagbag
    Tagbag
    Participant
    February 6, 2019 at 09:32

    Unfortunately, the login window is no longer displayed. I have no plan, why that is^^.

    Cheers

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 6, 2019 at 09:39

    Please describe in details what changes were done.
    Have you installed a new additional plugin?
    Provide temporary FTP access.

    Regards

    Avatar: Tagbag
    Tagbag
    Participant
    February 6, 2019 at 10:05

    i installed buddypress plugin and one more plugin with shortcodes for buddypress. Also, I installed a code snippet tool, but i delated it now.
    I tried to deactivate the first two plugins. Nothing happen with the login-window. It is still not shown. I think, it is because of:

    i tried to do this on my own:
    https://www.8theme.com/topic/change-my-acoount-text-to-username/#post-208597

    Regards
    Joey :/

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 6, 2019 at 10:44

    Please delete this code:

    .login-link:hover > .menu-main-container:not(.active) {
    	opacity: 0;
    	visibility: hidden;
    }
    .login-link > .menu-main-container.active {
    	opacity: 1;
    	visibility: visible;
    }

    from style.css of your child theme.
    Looks like this http://prntscr.com/mhbdts is not the best fix. I will ask our developers and let you know a new solution soon.

    Regards

    Avatar: Tagbag
    Tagbag
    Participant
    February 6, 2019 at 11:01

    Alright. Thank u 🙂

    Avatar: Tagbag
    Tagbag
    Participant
    February 6, 2019 at 11:46

    Maybe you could help me with following:

    After login on my page, I see the account-page of woocoommerce. That is normally.
    account-page

    But I installed the Plugin “buddypress” to create a community. Now, I would like to show the “profile” – page of the user after the login. I know there is a possibility to add a special form to register, given by buddypress. But it looks pretty like shit. I love the login/register of woocommerce / of the xstore-theme. So, do you know any solution for it?

    I mean, it is now problem to show the buddypress-pages in the dropdown of the account-menu, but unfortunately the “profil” – page is not shown as a single-page.
    buddypress-pages

    I would like to redirect the user after login, to the “profil”-page of buddypress and not to the “woocommerce account”-page

    I hope you understood, what I want to say. I did not use the Google translator for help this time. So I am sorry for my terriable english. I searched all the day for a fucking solution…^^ And i know, it is not included in your service to help for third-party plugin. But maybe your developer know any php-things to solve it xD

    Cheers

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 6, 2019 at 11:47

    We’ve added some changes in xstore-child/js/etheme.js, xstore-child/functions.php, xstore-child/style.css.
    Please clear cache and check the login form now.

    Regards

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 6, 2019 at 11:51

    Additional customization is not included in our basic support and we do not provide support for 3rd party plugins.
    Unfortunately, I can’t help you with this. You can contact support of the plugin and Woocommerce support to get some tips.
    If you need help with additional customization, contact Codeable team – https://codeable.io/?ref=qGTdX

    Regards

    Avatar: Tagbag
    Tagbag
    Participant
    February 6, 2019 at 11:55

    That was fast..
    Great!

    I am not aware of any support that works as fast as you^^

    Avatar: Tagbag
    Tagbag
    Participant
    February 6, 2019 at 11:56

    Alright. No Problem.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 6, 2019 at 11:57

    Thanks for understanding.
    Please kindly open up new tickets for additional questions 🙂

    Regards

  • Viewing 16 results - 1 through 16 (of 16 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.