Jump to content

Removing Next/Previous Post in 7.0 Blog

Recommended Posts

Site URL: https://locale.com/roomtypes/two-bedroom-apartment-houmed

Hi Friends - 

 

I'm hoping you can help me with some custom code on this Thanksgiving eve.  I'm working in 7.0 for the first time in a while and am having difficulties removing the Next/Previous buttons from blog posts.  I used the Blog Settings > Advanced > Header Code Injection with the following code but it does not seem to have changed anything. 

<style>
  
 .item-pagination--prev-next {
    display: none;
}
    
  </style>

The one of the blog posts in question: 

https://locale.com/roomtypes/two-bedroom-apartment-houmed

Thank you in advance for any assistance the team here can offer!!

 

 

Link to comment
  • 2 weeks later...
  • 2 weeks later...
17 hours ago, JCatherine said:

Thank you for the response!  I tried this out but am still seeing the View Next and View Previous options.  Is there something else I'm missing? 

The page in question is here: 

https://locale.com/roomtypes/houmed-one-bedroom-apartment-balcony

You want to hide

Line 1. One Bedroom Apartment

or

Line 2. Houston Medical Center?

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
14 hours ago, JCatherine said:

I'm hoping to hide both entirely.  I'm hoping to hid both the forward and past options under the last "Book Now" button to make it feel like more of a standalone page.  Is that possible?

 

1007332422_ScreenShot2020-12-21at11_39_17AM.thumb.png.bb0280c709d26f0e687e735dccd3aa36.png

Add to Home > Design > Custom CSS

a.BlogItem-pagination-link {
    display: none;
}

 

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
  • 2 weeks later...
On 12/22/2020 at 11:19 PM, JCatherine said:

Thank you!  That worked perfectly. 

 

Thank you again!

Just found your logo is white color so it is invisble https://locale.com/roomtypes/houmed-one-bedroom-apartment-balcony

add this to Design > Custom CSS to change logo color on blog posts

/* blog posts logo color */
body.collection-type-blog.view-item img.Header-branding-logo {
    filter: invert(1);
    -webkit-filter: invert(1);
}

 

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
11 hours ago, dimitrisghd said:

Add to Design > Custom CSS

.collection-type-blog .pagination {
    display: none;
}

 

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