Jump to content

gallery page - add previous and next project at the top ?

Recommended Posts

  • Replies 5
  • Views 1.4k
  • Created
  • Last Reply

Top Posters In This Topic

Add this code to Website > Website Tools (under Not Linked) > Code Injection > Footer

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
jQuery(document).ready(function($){
  $('.item-pagination[data-collection-type^="portfolio"]').clone().insertBefore('article>section:first-child .content');
})
</script>
<style>
  article>section:first-child .content-wrapper {
    flex-direction: column;
}
</style>

image.thumb.png.87b3ed25422ad890785cebe8109615e4.png

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
On 1/30/2024 at 7:44 PM, SwissPhotographer said:

Thanks a lot. Unfortunately it seems that I would need to upgrade my subscription in order to enter codes.... 😞

 

Try edit Site Footer > Add a Block > Choose Markdown > Paste the code

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.0/jquery.min.js"></script>
<script>
jQuery(document).ready(function($){
  $('.item-pagination[data-collection-type^="portfolio"]').clone().insertBefore('article>section:first-child .content');
})
</script>
<style>
  article>section:first-child .content-wrapper {
    flex-direction: column;
}
</style>

 

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

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.