Jump to content

Basil (Brine): Hiding Blog Title/Date and Adjusting Width

Recommended Posts

Hi,

I'm hoping this is something a few simple CSS fixes will help, but that's beyond me to think of, I'm afraid.

I'd love to be able to hide both the blog title and date from ONE specific blog only. Also, because I'm creating too many pages, I've tried to start shifting some content to new blogs, but this means they now have a much narrower content width, which isn't ideal for this particular blog. Is there any way I can change the content inset for ONE specific blog only?

Example page: https://shefani-archive.info/concert-dates/2019/9/14/bs-concerts-2003

Any help would be much appreciated!

Link to comment
  • Replies 2
  • Views 613
  • Created
  • Last Reply

@nicole21290 You can use this code. Replace body#....2d with post or page ID. Each page/post will have different ID.

See how to find Page ID: https://beaverhero.com/squarespace-how-to/#HowtoFindPageID

Here is code


/* Hide Blog Title */
body#item-5d7cd2db93484a145724962d h1.BlogItem-title {
       display: none;
}
/* Hide Date */
body#item-5d7cd2db93484a145724962d .Blog-meta-item--date {
       display: none !important;
}
/* Change Post Width */
body#item-5d7cd2db93484a145724962d .BlogItem {
   max-width: 1050px;
}


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.