Jump to content

FIx pagination to float on bottom of page

Go to solution Solved by tuanphan,

Recommended Posts

Posted

Is there a way to fix the blog pagination navigation buttons so they are always visible at the bottom of the page. I'd like them to always be visible at the bottom of the page so that on image pages with lots of content visitors can skip to the next section without scrolling all the way to the bottom.

Any help would be greatly appreciated. Thank you!

  • Solution
Posted
On 1/4/2024 at 2:52 PM, Hombre_de_Castillo said:

Thank you for the response! The URL is jeff-castleman.com. @tuanphan you've already given me some help on it through a different thread 🙂

Screenshot 2024-01-02 at 5.18.52 PM.png

You can use this code to Website Tools (under Not Linked) > Custom CSS

section#itemPagination {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 0 !important;
    background-color: transparent !important;
}

section#itemPagination>a {
    padding-bottom: 2vw;
}

 

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!)

  • 6 months later...
Posted
On 8/1/2024 at 11:57 PM, KarlKeil said:

How can i have the pagination centered on a portfolio page, the arrows removed and have it say PREV / NEXT always?

Use this code to Custom CSS box

.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;
	font-family: futura-pt;
}
.item-pagination-link--prev .item-pagination-prev-next:before {
    content: "PREV";
    visibility: visible;
	font-family: futura-pt;
}

 

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!)

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.