Jump to content

Hiding the Previous and Next post function

Recommended Posts

15 minutes ago, theversion said:

Thank you, tried this too and it's not working. 

Edit: See post below
Can you try

.pagination-title-wrapper {
display:none !important;
}

or 

.item-pagination-prev-next {
display:none !important;
}

 

Edited by aravsanj

humaneer

 

 

Sharing virtual tactics for an abstract world
Blogger @ humaneer.org

Link to comment
12 minutes ago, aravsanj said:

This seems to work: @theversion


.pagination-title-wrapper {
display:none !important;
}
.caret-right-icon--small {
display:none !important;
}
.caret-left-icon--small {
display:none !important;
}

Thanks but none of it is working. I'll have to remove all my css and try again tomorrow. Thanks though.

Link to comment
6 minutes ago, theversion said:

Thanks but none of it is working. I'll have to remove all my css and try again tomorrow. Thanks though.

Are you sure? When I edited your website page source, it worked.


To be clear, I added the following in the HTML body of a blog post and it worked:

<style>
.pagination-title-wrapper {
display:none !important;
}
.caret-right-icon--small {
display:none !important;
}
.caret-left-icon--small {
display:none !important;
}
</style>

Edited by aravsanj

humaneer

 

 

Sharing virtual tactics for an abstract world
Blogger @ humaneer.org

Link to comment
36 minutes ago, aravsanj said:

Are you sure? When I edited your website page source, it worked.


To be clear, I added the following in the HTML body of a blog post and it worked:

<style>
.pagination-title-wrapper {
display:none !important;
}
.caret-right-icon--small {
display:none !important;
}
.caret-left-icon--small {
display:none !important;
}
</style>

Ah, so I have to add a block to every single blog page? I thought I just needed to paste it in custom CSS and that was it

Link to comment
2 minutes ago, theversion said:

Ah, so I have to add a block to every single blog page? I thought I just needed to paste it in custom CSS and that was it

Custom CSS should work normally.

Do you have an option to inject code to header of your site? Or your blog collection? You seems to be using old version of squarespace, I am not familiar. But if you do, try it.

humaneer

 

 

Sharing virtual tactics for an abstract world
Blogger @ humaneer.org

Link to comment
1 hour ago, aravsanj said:

Custom CSS should work normally.

Do you have an option to inject code to header of your site? Or your blog collection? You seems to be using old version of squarespace, I am not familiar. But if you do, try it.

Yes I do. It's version 7.1

Link to comment
8 hours ago, theversion said:

Yes I do. It's version 7.1

Pasting this piece of code into custom CSS worked for my 7.1 site. 

.item-pagination {
  display:none !important;
}

It seems you've done something that is disallowing custom CSS to target .item-pagination.

Since it's 7.1, you should go to blog settings > Advanced > Post Blog Item Code Injection then paste the above code and see if it works.

Edit: I have confirmed that the above code is working in your site. You maybe having a problem with custom CSS. Injecting same code using <style></style> in Blog Item Code Injection also worked for me. Seemingly, it also overrides custom CSS. Try it.

Edited by aravsanj

humaneer

 

 

Sharing virtual tactics for an abstract world
Blogger @ humaneer.org

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.