11.26c08v4 Team 03 S01: List Section: Offset Second Item for a Staggered Layout

Description

  • push second item in a List Section down, creating a staggered layout that feels more editorial than a straight row.
  • buy me a coffee

11 26c08v4

#1. Install Code

#1.1. First, hover on top right of section > Click EDIT SECTION

11 26c08v02

#1.2. at Design > Anchor Link > enter word: team03-s01

11 26c08v02

#1.3. Use this code to Custom CSS

#team03-s01 {
  --item2-offset-top: 80px;
  --item2-offset-top-mobile: 0px;
  .user-items-list-item-container > .list-item:nth-child(2) {
    margin-top: var(--item2-offset-top);
  }

  @media (max-width: 767px) {
    .user-items-list-item-container > .list-item:nth-child(2) {
      margin-top: var(--item2-offset-top-mobile);
    }
  }
}

11 26c08v4

#1.4. Customize

To change offset value on desktop/mobile, change these lines

--item2-offset-top: 80px;
  --item2-offset-top-mobile: 0px;

 

Buy me a coffee