• Hello and thank you for a great plugin. My question is this. I’ve already added the new login and signup inline forms and they are working on deskop, but on mobile, the ‘person’ icon is displayed and links to the old my account page. You have to click the three lines off canvas menu to see the new login signup. So,how do I edit this specific link for LOGGED OUT USERS ON MOBILE…I don’t know where to find that mobile-only icon.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xootix

    (@xootix)

    Hello @jenvape

    Add this code to your functions.php

    add_action( 'wp_footer', function(){
    	?>
    	<script type="text/javascript">
    		jQuery(document).ready(function($){
    			$('.my_account_icon').on('click',function(e){
    				e.preventDefault();
    				$('.xoo-el-login-tgr').trigger('click');
    			})
    		})
    	</script>
    	<?php
    } );
    Thread Starter jenvape

    (@jenvape)

    Yes, that works. The only problem is that once the user is logged in (mobile), they can’t access My Account anymore with that icon to check on their order history.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Mobile My Account Icon –’ is closed to new replies.