Jump to content

[Share] How to hide Tag from Blog Posts

Recommended Posts

Posted

Some CSS to hide Tag from Blog Posts.

#1. Hide Tag from All Blog Posts

You can use this code to Custom CSS box

div.blog-meta-item--tags {
    display: none;
}

image.png.355b2fe11cb0610831a322126a587258.png

If you want to hide tags on Desktop Only, use this code

@media screen and (min-width:768px) {
  div.blog-meta-item--tags {
      display: none;
  }
}

If you want to hide tags on Mobile only, use this CSS

@media screen and (max-width:767px) {
  div.blog-meta-item--tags {
      display: none;
  }
}

#2. Hide Tag from a specific Blog Page

First, you open Blog Page (blog list) and find Page ID

In my example, it is: #collection-6677756d03a4f15ba27ce9d8

image.png.a012c1e34f5edfe3cba86bab7b490a11.png

Next, change # to body.
so new ID will be body.collection-6677756d03a4f15ba27ce9d8

 

Next, use this code to Custom CSS box

body.collection-6677756d03a4f15ba27ce9d8.view-item div.blog-meta-item--tags {
    display: none;
}

image.png.1bfc75399223cc45459839123cc6d145.png

#3. Hide Tag from a specific blog post

You can add a Block at bottom of blog post

image.png.81bcfe7063a3400d734d6f1688703a35.png

Choose Code

image.thumb.png.ddf4e590384a10f77dfb941d1c4fcedc.png

Paste this code into Code Block

<style>
div.blog-meta-item--tags {
    display: none;
}
</style>

image.png.23e60b7f6eccf81d3034474d78be2192.png

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

  • Replies 0
  • Views 34
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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.