Jump to content

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
span.unauth {
    visibility: hidden;
}
span.unauth:after {
    visibility: visible;
    content: "VIP Customer";
}

remove code you used, and insert above code

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

mobile uses

.Mobile-bar.Mobile-bar--top span.unauth {
    visibility: hidden;
}
.Mobile-bar.Mobile-bar--top span.unauth:after {
    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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
  • 6 months later...
On 10/14/2020 at 11:18 PM, inunzi said:

I tried both codes, and they don't work 😞

Can you share site url? We can check easier.

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment
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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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 😞.

Edited by inunzi
Link to comment
40 minutes ago, inunzi said:

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

You want to hide or change text? If hide, just remove vip customer code

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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

Edited by inunzi
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • 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.