Jump to content

pelanderson

Circle Member
  • Posts

    60
  • Joined

  • Last visited

Posts posted by pelanderson

  1. Hi, I am using the following code to centre and space the blog list (main page and category posts but it is affecting spacing between rows. Is there better code to use that doesn't create this problem? Thanks

    https://renfield-centre.squarespace.com/  PW renfield

     

    .BlogList.BlogList--posts-excerpt.sqs-blog-list.clear {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    .tweak-blog-list-style-grid .BlogList-item {
    margin-left: 35px;
    }

    spacing 1.png

    spacing 2.png

  2. On 2/21/2023 at 7:39 PM, ReformDesign said:

    Add

    .tweak-blog-list-style-grid .BlogList-item {
    margin-left: 35px;
    }

    There was a right margin applied already. 

     

    On 2/21/2023 at 7:39 PM, ReformDesign said:

    Add

    .tweak-blog-list-style-grid .BlogList-item {
    margin-left: 35px;
    }

    There was a right margin applied already. 

    Hi @ReformDesign, adding the code centres but spacing not even when resizing screen? 

    bb.jpg

  3. 7 hours ago, tuanphan said:

    Add to Settings > Advanced > Code Injection > Footer

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <style>
    	section#intro-gallery a.next-section {
          padding-top: 70px;
          position: absolute;
          bottom: 0;
          left: 50%;
          transform: translateX(-50%);
          z-index: 2;
          display: inline-block;
          color: #fff;
          font : normal 400 20px/1 'Josefin Sans', sans-serif;
          letter-spacing: .1em;
          text-decoration: none;
          transition: opacity .3s;
            animation: fade_move_down 4s ease-in-out infinite;
        }
    section#intro-gallery a.next-section:before {
        content: "\e009";
        font-family: 'squarespace-ui-font';
        font-size: 50px;
    }
    /*animated scroll arrow animation*/
    @-webkit-keyframes fade_move_down {
      0%   { -webkit-transform:translate(0,-10px); opacity: 0;  }
      50%  { opacity: 1;  }
      100% { -webkit-transform:translate(0,10px); opacity: 0; }
    }
    @-moz-keyframes fade_move_down {
      0%   { -moz-transform:translate(0,-10px); opacity: 0;  }
      50%  { opacity: 1;  }
      100% { -moz-transform:translate(0,10px); opacity: 0; }
    }
    @keyframes fade_move_down {
      0%   { transform:translate(0,-10px); opacity: 0;  }
      50%  { opacity: 1;  }
      100% { transform:translate(0,10px); opacity: 0; }
    }
    </style>
    <script>
    	$(function() {
          $("section#intro-gallery").append('<a href="#" class="next-section"></a>');
          $('a.next-section').on('click', function(e) {
            e.preventDefault();
            $('html, body').animate({ scrollTop: $("section#intro-gallery").next().offset().top}, 500, 'linear');
          });
        });
    </script>

     

    Brilliant, thanks @tuanphan Can you advise how I can adjust the arrow so it's centred and above the gallery dots? 

  4. 1 hour ago, tuanphan said:

    Hi,

    I see 2 posts only, no way to check this. If you can add 4 posts, I can check easier

    renfield

    https://renfield-centre.squarespace.com/rooms/category/200

    Hi, I managed to add code to centre posts but even on the category with 2 posts can see they are slightly to the left. This category has 4 posts: https://renfield-centre.squarespace.com/rooms/category/50 

    This summary block containing 11 posts centred are also slightly to the left https://renfield-centre.squarespace.com/all

  5. 6 hours ago, tuanphan said:

    Add to Design > Custom CSS

    section.Intro {
        overflow: visible;
    }
    ul.archive-group-list {
        position: absolute;
        top: 60px;
        background-color: #faf9f7;
        z-index: 9999;
        left: 50%;
        transform: translateX(-50%);
    }

     

    Brilliant, thanks so much. May I ask another question?  How do I centre blog posts? eg if there are rows of 4 posts then the last row has just 3 posts? Or if there is just one post?

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