# Vertical Text Scrolling in Squarespace

**URL:** <https://community.elfsight.com/t/vertical-text-scrolling-in-squarespace/148525>\
**Category:** Platform Tips\
**Tags:** squarespace\
**Created:** [March 10, 2026, 7:11am UTC](https://community.elfsight.com/t/vertical-text-scrolling-in-squarespace/148525 "2026-03-10T07:11:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuanphan](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/tuanphan/32/3165_2.png) [@tuanphan](https://community.elfsight.com/u/tuanphan)\
**Post date:** [March 10, 2026, 7:11am UTC](https://community.elfsight.com/t/vertical-text-scrolling-in-squarespace/148525/1 "2026-03-10T07:11:04Z")

</div>

To add autoscroll vertical text scrolling in Squarespace, like [this demo](https://tuanphan-demo.squarespace.com/0226c25v72verticaltextscrolling?noredirect) (pass: abc)

**#1.1.** First you need to add some Text Blocks

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/d/e/de009aee1759285da8a541acc7d55f4b89d64c4a.png)

**#1.2.** Next, hover on top right of section \> Click Edit Section

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/c/0/c091f5ade0962ffde84871294a2c5a5ff9dce754.png)

at Anchor Link, enter word: vertical-text-scroll

```auto
vertical-text-scroll

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/e/e/eec7918408aecd1c00c055a327465dcf7fe6444f.png)

**#1.3.** Hover on page where you added Text Blocks \> Click Gear icon

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/3/0/300b75f071c7fc7a8a50169bfb95d65ff84f4f31.png)

Click Advanced \> Paste this code

```auto
<!-- 02.26c25v72 Vertical Text Scrolling -->
<script>
var defined_verticalTextScroll = {
  scrollDuration: 400,
  pauseDuration: 1000
};
</script>
<script src="https://code.beaverhero.com/textblock/0226c25v72verticaltextscroll.js"></script>

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/5/f/5f2f5ee6d95d2245d0fb342556e69a5e13c401a5.jpeg)

**#1.4.** Next, use this code to **Custom CSS box**

```auto
/* 02.26c25v7(2) VerticalTextScrolling */
section[id*="vertical-text-scroll"] { .html-block {
  opacity: 0;
}
.vts-container .html-block {
  opacity: 1;
}
.vts-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.vts-track {
  display: flex;
  flex-direction: column;
  transform: translateY(0px);
}
.vts-item {
  flex-shrink: 0;
  overflow: hidden;
}
.vts-item .html-block {
  width: 100%;
  }}

```

 ![image](https://us1.discourse-cdn.com/flex020/uploads/elfsight/original/3X/0/7/07311690c4f22a7a2a0a4816fa85bca74e271c90.jpeg)

**#2.1.** To change auto scroll speed, you can adjust these lines

```auto
var defined_verticalTextScroll = {
  scrollDuration: 400,
  pauseDuration: 1000
};

```
