Jump to content

REMOVE LOGIN TEXT STILL APPEARING IN HEADER

Recommended Posts

  • Replies 5
  • Views 876
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

squarespace adds the login text when the user isn't authenticated. you can remove this using style tags in a code block, or adding this to your site's CSS.

.user-accounts-text-link span.unauth { visibility:hidden }

In this case you have to set visibility to hidden, rather than use display:none, because you've set the icon using a background image. if you set it to display:none (as people might often use to hide something), there will be no background for you to show your icon. this does mean that the size of the button is as wide as the word "Login" would be.

(if you wanted to change that you'd need to alter the code you used to set the icon so that the button had a width and height provided, then you could set your spans display to none.)

Dave Hart. Software/Technology Consultant living in London. buymeacoffee 

Link to comment
On 7/28/2021 at 4:25 AM, nw7063 said:

Amazing thank you so much this has worked!

Although now when we log in and we're on the checkout pace - the word ACCOUNT appears behind the icon. Is there a code you can give us to change this?

Thank you so much!

/checkout or /cart page?

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

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.