Jump to content

Sign-in Link on Mobile

Recommended Posts

Site URL: https://www.justgoodjuju.com

Thanks to Tuanphan's help, I have the Customer Sign-in link renamed on our site and it works great when viewed on desktop.  Can anyone give me guidance on how to make the same thing happen on Mobile?

Code:

/*  CUSTOMER ACCOUNT SIGN IN LINK  */
.Header-account span.unauth 
{
    visibility: hidden;
}
.Header-account span.unauth:after 
{
    visibility: visible;
    content: "VIP Customer";
}

Link to comment
  • Replies 17
  • Views 1k
  • Created
  • Last Reply
  • 6 months later...
17 hours ago, inunzi said:

Use this CSS

.header-menu-nav-item span.unauth {
    visibility: hidden;
}
.header-menu-nav-item span.unauth:before {
    visibility: visible;
    content: "VIP Customer";
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
12 hours ago, tuanphan said:

Use this CSS



.header-menu-nav-item span.unauth {
    visibility: hidden;
}
.header-menu-nav-item span.unauth:before {
    visibility: visible;
    content: "VIP Customer";
}

 

The code worked! But the only problem is that the text "VIP LOGIN" is still in my mobile menu 😞.

Link to comment
On 10/23/2020 at 10:02 PM, inunzi said:

Yes correct! @tuanphan (sorry for the tag)

Add to Code Injection Footer

<script>
  $(document).ready(function() { 
		$('.header-menu .customerAccountLoginMobile').appendTo('.header-display-mobile .header-actions.header-actions--right');
	});
</script>

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
1 hour ago, tuanphan said:

Add to Code Injection Footer



<script>
  $(document).ready(function() { 
		$('.header-menu .customerAccountLoginMobile').appendTo('.header-display-mobile .header-actions.header-actions--right');
	});
</script>

 

It works!!! Is there anyway to change the size of the svg icon with css? And also is there anyway to have the svg icon to the left of the bag icon? Because, I tried removing “right” and then adding “left” but it didn’t work 😕

D40CDB2D-9BD0-4D69-B237-C4C04D9A3F8D.png

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.