Jump to content

Edit blog meta data display for a particular blog

Recommended Posts

My site uses multiple blogs. For most of them I don't want the individual blog pages to display metadata (eg author/date) at the top, so I have turned this off in the site styles. However for the news blog, I would like to turn this function on. I would like to add some code into the css to edit just that blog so that it shows date as primary metadata and author name as secondary metadata. The collection id is #collection-5d5151bd2cf86f00010be681 but I don't know what the code should be - can anyone help? Thanks.

Link to comment
  • Replies 10
  • Created
  • Last Reply

@cmilne It will hide for all posts on the web, so you can only target by category, if you want to apply to multiple categories, use


 .category-case-study .Blog-meta.BlogItem-meta,  .category-02 .Blog-meta.BlogItem-meta,  .category-03 .Blog-meta.BlogItem-meta,  .category-04 .Blog-meta.BlogItem-meta {
    display: none;
}






Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

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.