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

Only display css-class to Administrator


antimateria.studio
Go to solution Solved by tuanphan,

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}

 

Link to post
  • Answers 1
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Posts

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


×
×
  • Create New...