Jump to content

Is it possible to remove blog title, prev/next blog link as well as hide tags?

Go to solution Solved by 8B39C8,

Recommended Posts

Posted

Site URL: https://raspberry-krill-bzz4.squarespace.com/blog-2/blog-post-title-one-jky84

Hello all,

Looking for some help! I would like to remove the main title from my blog pages as the vehicle information will be below the image slideshow (I would like to keep the title it in the collections page), hide the tags, and remove the previous/next post links if possible?

Link: https://raspberry-krill-bzz4.squarespace.com/blog-2/blog-post-title-one-jky84

Thanks in advance for any assitance!

website.jpg

  • Replies 6
  • Views 2.1k
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
Posted (edited)

We do not have acces to your site, as its private. You can set it to password only, so we can acces it.

 

As far as I'm aware, there is not really a solution by squarespace, but there are some workarounds.

 

If you just leave the main title empty, it will not show up in the final version.

 

You can hide the elements individually, using the display: none tag from CSS.

The code would look like this:

 

/*hides the previous and next buttons from all blog pages*/
.item-pagination.item-pagination--prev-next {
  display: none;
}

/*hides the title from all blog pages*/
.blog-item-title {
  display: none;
}

/*hides the tags from all blog pages*/
.blog-meta-item--tags {
 display: none; 
}

 

In order to adjust the space above the point where you blog content starts, you can use this:

/*adjust the space above the content of all blog pages*/
.blog-item-content.e-content {
  margin-top: XXyy;
}

Note that that margin-top also allows for negative values to decrease the space.

 

Keep in mind, that this workaround will make these changes to all blogs.

Edited by 8B39C8
Posted (edited)
14 hours ago, 8B39C8 said:

We do not have acces to your site, as its private. You can set it to password only, so we can acces it.

 

As far as I'm aware, there is not really a solution by squarespace, but there are some workarounds.

 

If you just leave the main title empty, it will not show up in the final version.

 

You can hide the elements individually, using the display: none tag from CSS.

The code would look like this:

 


/*hides the previous and next buttons from all blog pages*/
.item-pagination.item-pagination--prev-next {
  display: none;
}

/*hides the title from all blog pages*/
.blog-item-title {
  display: none;
}

/*hides the tags from all blog pages*/
.blog-meta-item--tags {
 display: none; 
}

 

In order to adjust the space above the point where you blog content starts, you can use this:


/*adjust the space above the content of all blog pages*/
.blog-item-content.e-content {
  margin-top: XXyy;
}

Note that that margin-top also allows for negative values to decrease the space.

 

Keep in mind, that this workaround will make these changes to all blogs.

I'll give this a whirl, thank you!

I have set the password to test123 if you would like to take a look. I'll try my hand with this and see how I get on.

EDIT: It worked!! Thank you so much!!

Edited by Guest
  • 11 months later...
Posted
On 3/17/2021 at 10:48 PM, mountainmusic said:

I tried this code on my site, and nothing happened. Any idea why it wouldn't work?  https://www.actorproject.org/tor/analysis/posts/an-interactive-aural-analysis-of-jonathan-harveys-mortuos-plango-vivos-voco

Add to Design > Custom CSS

/* hide pagination */
.BlogItem-pagination-link-content {
    display: none !important;
}

 

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!)

  • 8 months later...
  • 5 months later...

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.