I wanted to hide a css class from all users except for administrators. I'm using this as a workaround for editing the blog post title, since the ability to edit it from the post's settings was recently deprecated in Squarespace 7.1. This will enable me to edit the blog post title in the administrator edit screen, but won't display the block to users.
This is the code I'm currently using to hide the title from the Blog Post:
Question
antimateria.studio 0
I wanted to hide a css class from all users except for administrators. I'm using this as a workaround for editing the blog post title, since the ability to edit it from the post's settings was recently deprecated in Squarespace 7.1. This will enable me to edit the blog post title in the administrator edit screen, but won't display the block to users.
This is the code I'm currently using to hide the title from the Blog Post:
.blog-item-wrapper .blog-item-top-wrapper{display:none}
Link to post
Top Posters For This Question
1
1
Popular Days
Aug 1
2
Top Posters For This Question
antimateria.studio 1 post
tuanphan 1 post
Popular Days
Aug 1 2020
2 posts
Popular Posts
tuanphan
body:not(.sqs-edit-mode) .blog-item-wrapper .blog-item-top-wrapper{display:none}
1 answer 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