nonicastudio Posted August 1, 2020 Share Posted August 1, 2020 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 comment
tuanphan Posted August 1, 2020 Share Posted August 1, 2020 body:not(.sqs-edit-mode) .blog-item-wrapper .blog-item-top-wrapper{display:none} Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.