Sahil007 Posted December 21, 2021 Share Posted December 21, 2021 Site URL: https://vibraphone-cheetah-jwk6.squarespace.com/ I'm trying to add some custom code that will only effect the "Accsess Denied Screen" to style it, but can't figure out how. Does anyone have any tips or tricks? Specifically I'm trying to change the header color. Password: 1234 Link to comment
paul2009 Posted December 21, 2021 Share Posted December 21, 2021 (edited) 6 hours ago, Sahil007 said: I'm trying to add some custom code that will only affect the "Access Denied Screen". Specifically I'm trying to change the header color. I'm not sure I understand. You can add custom code to the Lock Page by adding it to Settings > Advanced > Code Injection > Lock Page. However, the Lock Page does not have a header. Edited December 21, 2021 by paul2009 About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. Content: Links in my posts may refer to SF Digital products or may be affiliate links. Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.Improve your online store with our extensions. Link to comment
Sahil007 Posted December 21, 2021 Author Share Posted December 21, 2021 2 hours ago, paul2009 said: You can add custom code to the Lock Page by adding it to Settings > Advanced > Code Injection > Lock Page. However, the Lock Page does not have a header. I'm trying to change the header color for the access denied screen when people try to access a members only page. I'll give this trick a go. Link to comment
iamdavehart Posted December 21, 2021 Share Posted December 21, 2021 looks like you can use #sqs-member-access-page-root to access the div that contains the messages, as I can't see that id appearing in normal member pages, looks like it's just on that page. The components are #sqs-member-access-page-root h2#headline #sqs-member-access-page-root p#description #sqs-member-access-page-root button.join-button #sqs-member-access-page-root button.sign-in-button so you can add something to your css like this: #sqs-member-access-page-root h2#headline { color:red; } #sqs-member-access-page-root p#description { color:blue; } #sqs-member-access-page-root button.join-button { color:yellow; } #sqs-member-access-page-root button.sign-in-button { color:green; } give it a try and see how you get on. Dave Hart. Software/Technology Consultant living in London Link to comment
lh-cl-2021 Posted March 10 Share Posted March 10 Hello! I have a website with a member area, specifically for a certain client and they would like their logo on this Access Denied page. Is there any way to get an image on here? I've changed the background but they're really keen on getting the logo on there too. 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