jaybeenz Posted August 30, 2022 Share Posted August 30, 2022 Site URL: https://turbot-bear-wxch.squarespace.com My site is not live yet. I have three very distinct topics I am going to be blogging on. After researching best practice, I decided to create one blog, then pages for these blog topics using categories. However the 'previous/next' functionality at the bottom of the page doesn't work when I set it up this way, as it goes to the next blog post in the entire set, not just a blog post in the category I am focusing on on that page. So I would like to remove the functionality to see the previous and next post altogether. Can anyone tell me if this is possible and how I might be able to do this please? That'd be awesome thanks! Link to comment
Solution tuanphan Posted August 30, 2022 Solution Share Posted August 30, 2022 Add to Design > Custom CSS /* remove blog pagination */ .item-pagination[data-collection-type^="blog"] { display: none !important; } mazmac 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
jaybeenz Posted August 30, 2022 Author Share Posted August 30, 2022 5 hours ago, tuanphan said: Add to Design > Custom CSS /* remove blog pagination */ .item-pagination[data-collection-type^="blog"] { display: none !important; } Thank you! I'll give that a try 🙂 Link to comment
jaybeenz Posted August 30, 2022 Author Share Posted August 30, 2022 Thank you so much! This got rid of it 🙂 Link to comment
Jen__ Posted October 2, 2022 Share Posted October 2, 2022 Thanks for this. First time using Custom CSS 😄 When I open the editor do I just add the code right there at the top or does it need to go somewhere specific? Link to comment
creedon Posted October 2, 2022 Share Posted October 2, 2022 5 hours ago, Jen__ said: When I open the editor do I just add the code right there at the top or does it need to go somewhere specific? You can put it at the top or bottom, in many cases. The main thing is to make sure to not drop it into the middle of other rulesets. If you do, you'll get a syntax error. When I'm adding I like to get a blank line above or below before I add new code in. Just a note, order can be important in CSS sometimes. CSS is interpreted in order from top to bottom. So later rulesets can override earlier ones. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment