Jump to content

[Share] How to remove Blog Pagination

Recommended Posts

If you want to remove Blog Pagination (screenshot).

image.png.0bd1705f4611e708300b39794134dba4.png

You can use these below CSS code.

#1. Remove blog pagination on all blog posts

section.item-pagination[data-collection-type^="blog"] {
    display: none;
}

image.png.1256746b90d9b88bb34f62e35875c2c9.png

#2. Remove blog pagination on Desktop Only

@media screen and (min-width:768px) {
section.item-pagination[data-collection-type^="blog"] {
    display: none;
}}

#3. Remove blog pagination on Mobile Only

@media screen and (max-width:767px) {
section.item-pagination[data-collection-type^="blog"] {
    display: none;
}}

#4. Remove blog pagination on specific blog page

First, you need to find Blog Page ID.

In my example, we will have: #collection-6677756d03a4f15ba27ce9d8

image.png.4c26d709138f1622b97e6be3431bcd24.png

Next, we need to change # to . symbol, so new ID will be:

.collection-6677756d03a4f15ba27ce9d8

Next, use CSS code like this

/* remove blog pagination */
.collection-6677756d03a4f15ba27ce9d8 section.item-pagination[data-collection-type^="blog"] {
    display: none;
}

#5. Remove pagination on Specific Blog Post

You can edit blog post > Add a Code Block

image.thumb.png.0e352675c6aea54ffadd45cdc422ccfa.png

and use code

<style>
  section.item-pagination[data-collection-type^="blog"] {
    display: none;
}
  </style>

image.png.64034cb4d538ff0645abe894c4354483.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!)

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

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.