JDavies Posted February 23, 2022 Posted February 23, 2022 Site URL: https://www.usla.ca/account/login Does anyone know how to hide the "create account" link on the sign in lightbox? I don't have a basic subscription without the ability to add code other than CSS. When I add custom css it doesn't affect the lightbox. The problem is I only offer accounts for member areas and don't sell items on my site, creating an account creates an customer account but not a member area account. TIA
Beyondspace Posted February 23, 2022 Posted February 23, 2022 4 hours ago, JDavies said: Site URL: https://www.usla.ca/account/login Does anyone know how to hide the "create account" link on the sign in lightbox? I don't have a basic subscription without the ability to add code other than CSS. When I add custom css it doesn't affect the lightbox. The problem is I only offer accounts for member areas and don't sell items on my site, creating an account creates an customer account but not a member area account. TIA You can try adding to Home > Settings > Advanced > Code injection choose footer <script> (function(){ window.onload = function() { let frameElement = document.getElementById("accountFrame"); if(frameElement) { let doc = frameElement.contentDocument; doc.body.innerHTML = doc.body.innerHTML + '<style> #user-account-login-root [href *= "create"] {display:none;} #user-account-login-root [href *= "login"] {padding:0;}</style>'; } } })() </script> Let me know how it works on your site BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> No-code customisations for Squarespace
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment