Jump to content

Only display css-class to Administrator

Recommended Posts

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
  • Replies 1
  • Views 639
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.