Jump to content

Shut off author profile with CSS not the switch

Recommended Posts

Site URL: https://friendsfirstphoto.com/offers/free-family-session

I have 3 blogs on my website and one of them doesn't need the author profile. I noticed there's a class for that with a display switch. Can someone help me figure out how to place this code on the blog instead of using the switch which is site-wide?! 
.tweak-blog-item-show-author-profile.tweak-blog-item-text-alignment-left .blog-item-wrapper .blog-item-author-profile-wrapper {
  1. align-items: start;
  2. display: none;
Link to comment

Add the following to Blog Settings > Advanced > Page Header Code Injection for the blog page.


  .tweak-blog-item-show-author-profile .blog-item-wrapper .blog-item-author-profile-wrapper {
    display : none;

This is for a v7.1 site.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment

Create an account or sign in to comment

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

  • 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.