roygbivla 8 Share Posted July 3, 2019 (edited) I'm trying to have different indexes and their pages to have different background colors. Through my searches I've found that a lot of users were using something like such for a 'Photo', and 'Motion' index as an example: #index-section-photo .index-item { background-color: #ffffff !important; } #index-section-motion .index-item { background-color: #222222 !important; } I didn't get any results in the Custom CSS panel. Any ideas on what I may be doing wrong? Edited July 3, 2019 by roygbivla Initial Revision Link to post
0 tuanphan 8,944 Solution Share Posted July 3, 2019 @roygbivla Each page will have different ID (#collection-..c84). body#collection-566f463ed8af1045cf922c84 #content { background-color: red; } How to find page ID: https://thirtyeightvisuals.com/blog/how-to-find-your-page-id-in-squarespace You can send your question to my email to get detail answer. / How to Setup Password & Share URL --- Happy New Year Link to post
0 roygbivla 8 Author Share Posted July 3, 2019 Thank you for this. It is definitely an option but it applies the color only to the body, but is there a way to apply it throughout every page within the index? This code only applies it to the body of one specific page. It doesn't show up in the rest of the page. Just curious. Link to post
0 tuanphan 8,944 Share Posted July 3, 2019 @roygbivla body#collection-565cb9dae4b02fbb0a540ec2 .overflow-wrapper { background-color: red; } You can send your question to my email to get detail answer. / How to Setup Password & Share URL --- Happy New Year Link to post
Question
roygbivla 8
I'm trying to have different indexes and their pages to have different background colors. Through my searches I've found that a lot of users were using something like such for a 'Photo', and 'Motion' index as an example:
I didn't get any results in the Custom CSS panel. Any ideas on what I may be doing wrong?
Edited by roygbivlaInitial Revision
Link to post
Top Posters For This Question
3
2
Popular Days
Jul 3
5
Top Posters For This Question
roygbivla 3 posts
tuanphan 2 posts
Popular Days
Jul 3 2019
5 posts
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment