Jump to content

How to customize post-sign in text to include customer's name?

Recommended Posts

I've customized the login/account text with the following:

span.unauth {
    visibility: hidden;
}
span.unauth:after {
    visibility: visible;
    content: "sign in";
}

span.auth {
    visibility: hidden;
}
span.auth:after {
    visibility: visible;
    content: "hi! view account";
    text-align: center;
}

 

But what I would really like it to display is 'hi, welcome back [customer name]' or something to that effect. Is this possible or should I just leave it as a generic 'view account'?

BONUS PROBLEM: In the mobile view, the login/account link is off to the side while the other navigation items are centered. Halp!

Edited by ninaws
One more issue
Link to comment
  • Replies 7
  • Views 760
  • Created
  • Last Reply

Top Posters In This Topic

2 hours ago, ninaws said:

I've customized the login/account text with the following:

span.unauth {
    visibility: hidden;
}
span.unauth:after {
    visibility: visible;
    content: "sign in";
}

span.auth {
    visibility: hidden;
}
span.auth:after {
    visibility: visible;
    content: "hi! view account";
    text-align: center;
}

 

But what I would really like it to display is 'hi, welcome back [customer name]' or something to that effect. Is this possible or should I just leave it as a generic 'view account'?

BONUS PROBLEM: In the mobile view, the login/account link is off to the side while the other navigation items are centered. Halp!

Can you share your URL so we can check it?

Press 👍  or mark my comment as solution if you find my sharing useful

🆒 Squarespace pinchzoom lightbox plugin (affiliate link)

👁‍🗨 360 degree photo viewer (affiliate link)

Link to comment
On 8/7/2024 at 10:30 AM, ninaws said:

Oh sorry! I thought it would display as that was a field to fill in when posting.

Here it is: https://www.disco-hiphop.com/shop

To make it center on mobile, use this CSS code under

nav.header-menu-nav-list span.unauth:after {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

image.png.89b42523fdcd5287f65d085bf8cf52b7.png

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
3 hours ago, tuanphan said:

I don't know this, you try contacting creedon

I'm not aware of any locations where this information is easily available. It's not on the page and it's not in Static.

I get the feeling that this info is assembled in the backend when SS needs to use it but doesn't just have it sitting around in the browser.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.