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

Shut off author profile with CSS not the switch


friendsfirst

Question

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

1 answer to this question

Recommended Posts

  • 0

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

<style>

  .tweak-blog-item-show-author-profile .blog-item-wrapper .blog-item-author-profile-wrapper {
  
    display : none;
    
    }
    
  </style>

This is for a v7.1 site.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

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