Ariariari Posted July 28, 2021 Posted July 28, 2021 (edited) Site URL: https://www.swissariknife.com/ Hi there, Can anyone help me customize something on my site? I am looking to change the bottom pagination links on my portfolio projects from the project names to: Previous and Next I love everything about the styling, so I don't want that to change. Secondary request (if possible) is that I'd like the links to have a hover state of the color #ef233c My site password is: 7777 Any help is super appreciated. - Ari Edited July 28, 2021 by Ariariari Beyondspace 1
Beyondspace Posted July 28, 2021 Posted July 28, 2021 2 hours ago, Ariariari said: Site URL: https://www.swissariknife.com/ Hi there, Can anyone help me customize something on my site? I am looking to change the bottom pagination links on my portfolio projects from the project names to: Previous and Next I love everything about the styling, so I don't want that to change. Secondary request (if possible) is that I'd like the links to have a hover state of the color #ef233c My site password is: 7777 Any help is super appreciated. - Ari try .item-pagination-link--prev .item-pagination-prev-next, .item-pagination-link--next .item-pagination-prev-next { display: block; font-family: utopia-std; font-weight: 600; } .item-pagination-link--prev .item-pagination-title, .item-pagination-link--next .item-pagination-title { display: none; } a:hover { color: #ef233c !important; } BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> 🤖 Ask me anything
Ariariari Posted July 29, 2021 Author Posted July 29, 2021 (edited) 23 hours ago, bangank36 said: try .item-pagination-link--prev .item-pagination-prev-next, .item-pagination-link--next .item-pagination-prev-next { display: block; font-family: utopia-std; font-weight: 600; } .item-pagination-link--prev .item-pagination-title, .item-pagination-link--next .item-pagination-title { display: none; } a:hover { color: #ef233c !important; } Changing the words worked perfectly, thank you! 😊 For some reason the color hover state is not showing up. Any ideas? Edit, I took it out of the snippet you gave me. It turns out it was targeting all my links, including my button text (messing with my button), but not applying to the new pagination on the bottom of the project case studies. Edited July 29, 2021 by Ariariari clarifying
tuanphan Posted August 1, 2021 Posted August 1, 2021 On 7/30/2021 at 5:26 AM, Ariariari said: Changing the words worked perfectly, thank you! 😊 For some reason the color hover state is not showing up. Any ideas? Edit, I took it out of the snippet you gave me. It turns out it was targeting all my links, including my button text (messing with my button), but not applying to the new pagination on the bottom of the project case studies. Hi. Do you still need help? 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!)
hikaricreatives Posted March 12, 2023 Posted March 12, 2023 Hello, is it possible to add Next and Prev on top of the project name for the portfolio pagination?
tuanphan Posted March 16, 2023 Posted March 16, 2023 (edited) On 3/12/2023 at 9:12 AM, hikaricreatives said: Hello, is it possible to add Next and Prev on top of the project name for the portfolio pagination? Yes. Possible. If you use Business Plan/higher, add this code to Portfolio Page Header <style> /* Move portfolio pagination to top */ body main#page { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: reverse; -ms-flex-direction: column-reverse; flex-direction: column-reverse; padding-top: 100px; } body section.item-pagination.item-pagination--prev-next { padding-top: 0; padding-bottom: 5px; } body #page section:first-child { padding-top: 10px !important; } </style> If you use Personal Plan, add this to Design > Custom CSS. However this code runs on both Portfolio, Blog, Event Page. So if you share link to your site, we can adjust code easier /* Move portfolio pagination to top */ body main#page { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: reverse; -ms-flex-direction: column-reverse; flex-direction: column-reverse; padding-top: 100px; } body section.item-pagination.item-pagination--prev-next { padding-top: 0; padding-bottom: 5px; } body #page section:first-child { padding-top: 10px !important; } Edited March 16, 2023 by tuanphan 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!)
KarlKeil Posted August 1 Posted August 1 Can the arrows be removed and the text be centered in futura pt font and have it state "PREV / NEXT"?
tuanphan Posted August 3 Posted August 3 On 8/1/2024 at 11:13 PM, KarlKeil said: Can the arrows be removed and the text be centered in futura pt font and have it state "PREV / NEXT"? Use this CSS code .item-pagination[data-collection-type^="portfolio"] .item-pagination-prev-next { visibility: hidden; } .item-pagination[data-collection-type^="portfolio"] svg { display: none !important; } a.item-pagination-link.item-pagination-link--next .item-pagination-prev-next:after { content: "NEXT"; visibility: visible; } .item-pagination-link--prev .item-pagination-prev-next:before { content: "PREV"; visibility: visible; } 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment