nw7063 Posted July 27, 2021 Share Posted July 27, 2021 Site URL: https://www.soulfruit.co.uk/shop-dried-dragon-fruit/p/dragon-fruit-chips Hi, Please can we get help with coding. We have changed the LOGIN text in the header and replaced with an icon. However on the product page (link above) it keeps showing the word LOGIN underneath the icon. Please can this be changed? Link to comment
iamdavehart Posted July 27, 2021 Share Posted July 27, 2021 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
nw7063 Posted July 27, 2021 Author Share Posted July 27, 2021 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! Link to comment
tuanphan Posted July 29, 2021 Share Posted July 29, 2021 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 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
nw7063 Posted July 29, 2021 Author Share Posted July 29, 2021 sorry it's cart page when you're logged in. Thank you! Link to comment
tuanphan Posted July 30, 2021 Share Posted July 30, 2021 On 7/29/2021 at 2:49 PM, nw7063 said: sorry it's cart page when you're logged in. Thank you! Can you provide a test/demo account? We can login & 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment