Jump to content

jane-clique

Member
  • Posts

    16
  • Joined

  • Last visited

Posts posted by jane-clique

  1. Hi tuanphan! thank you. Also found this code from your previous answer in another discussion. For the space between the OLDER and NEWER, can it be adjusted also? This is the code I'm using.

     

    Quote

    <style>
    nav.BlogList-pagination {
        margin-top: 100px;
    }
    </style>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script>
      $(document).ready(function() {  
            $("span.BlogList-pagination-link-label").html(function() { 
              return $(this).html().replace("Older", "NEXT");  
        });
        $("span.BlogList-pagination-link-label").html(function() { 
              return $(this).html().replace("Newer", "PREVIOUS");  
        });
        });
    </script>

     

  2. Hello! I am currently creating a news section for a website. I am using the "Blog" as a template. When I reach the last page and click the "Newer" arrow, it moves to the very first page instead of just the previous page. And when on the first page, the "Newer" arrow still appears which should not be the case since it is the first page. When you click the "Newer" arrow, "No blog posts yet" appears on the page.

    Does this need a code injection?

    No blog post yet..png

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