Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
antimateria.studio

Only display css-class to Administrator

Question

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}

 

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 0
body:not(.sqs-edit-mode) .blog-item-wrapper .blog-item-top-wrapper{display:none}

 


You can send your question to my email to get faster answer. / How to Setup Password & Share URL 

-- I'm Tuan. I work for a non-profit project (promote the establishment of free libraries). I check the forum once or twice a day to help out the community. If you don't see me answering your question, you can send it to the email above. There are so many questions every day so I can't answer them all at once, I will try to answer them in the next few days.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...