Jump to content

How to create vertical timeline in Squarespace

Recommended Posts

Posted

HI there.

I was wondering if there was a non-commercial solution for creating a vertical timeline in SquareSpace? I have seen that there are some commercial options available, but also read in this forum about some of the problems with these plugins so I am looking for a homegrown solution inside SS that can be used.

Has anyone found a clever way to create one of these?

 

Thanks

 

 

We provide digital marketing services for businesses that need exposure/sales from search and social media networks. We also build incredibly fast and well optimised multi-language Square Space websites.
Digital Marketing | Marketing Digitale

  • 2 months later...
Posted
On 8/21/2021 at 7:57 AM, Atif said:

Site URL: https://www.docsend.com/how-it-works/

I am looking for a custom code to create a vertical timeline similar to this one. https://www.docsend.com/how-it-works

You can find free code here & share url. We can convert it to Squarespace

 

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!)

  • 2 weeks later...
  • 6 months later...
Posted
2 hours ago, gab said:

Hello everyone,

Could you please guide me how to insert this timeline from codepen inside a section?

https://codepen.io/miss_cluna/pen/KBeQRY

 

Thank you in advance!

It requires to convert code into html and css. Then add these code in a code block on your site.

Here is my code for it

<div class="main-timeline">
    <h1 class="center">Responsive Vertical Timeline</h1>
    <ul class="timeline">
        <li class="timeline-item">
            <div class="timeline-content">
                <h3>Danish toffee marzipan chocolate</h3>
                <p>Sugar plum topping tootsie roll cheesecake gummi bears pie halvah. Gummies topping brownie marshmallow macaroon cotton candy. Marshmallow candy canes lemon drops wafer danish pastry cake dessert cupcake. Chocolate dessert chocolate cake bear claw icing toppinng.</p><button>Learn More</button>
            </div>
        </li>
        <li class="timeline-item">
            <div class="timeline-content"><img class="item-img" src="https://placeimg.com/640/200/any" />
                <h3>Danish toffee marzipan chocolate</h3>
                <p>Sugar plum topping tootsie roll cheesecake gummi bears pie halvah. Gummies topping brownie marshmallow macaroon cotton candy. Marshmallow candy canes lemon drops wafer danish pastry cake dessert cupcake. Chocolate dessert chocolate cake bear claw icing topping.</p><button>Learn More</button>
            </div>
        </li>
        <li class="timeline-item">
            <div class="timeline-content">
                <h3>Danish toffee marzipan chocolate</h3>
                <p>Sugar plum topping tootsie roll cheesecake gummi bears pie halvah. Gummies topping brownie marshmallow macaroon cotton candy. Marshmallow candy canes lemon drops wafer danish pastry cake dessert cupcake. Chocolate dessert chocolate cake bear claw icing topping.</p><button>Learn More</button>
            </div>
        </li>
    </ul>
</div>

<style>
  
@import url('https://fonts.googleapis.com/css?family=Amaranth|Source+Sans+Pro&display=swap');

 .main-timeline {
	 padding: 2em 0;
}
 .main-timeline h1 {
	 color: #61d4d7;
	 font-family: 'Amaranth', sans-serif;
	 line-height: 3em;
}
 .main-timeline h3 {
	 color: #fff;
	 font-family: 'Amaranth', sans-serif;
}
 .main-timeline p {
	 color: #fff;
	 font-family: 'Source Sans Pro', sans-serif;
	 font-size: 18px;
	 font-weight: 400;
	 line-height: 1.4em;
}
 .main-timeline .timeline {
	 position: relative;
}
 .main-timeline .timeline:before {
	 background: #f1efef;
	 content: '';
	 height: 100%;
	 left: 50%;
	 position: absolute;
	 transform: translateX(-50%);
	 width: 4px;
}
 .main-timeline .timeline .timeline-item {
	 clear: both;
	 list-style-type: none;
	 padding: 0 30px;
	 position: relative;
}
 .main-timeline .timeline .timeline-item:before {
	 background: #8ed6d6;
	 border-radius: 50%;
	 content: '';
	 height: 20px;
	 left: 50%;
	 position: absolute;
	 transform: translateX(-50%);
	 width: 20px;
}
 .main-timeline .timeline .timeline-item .timeline-content {
	 background: #8ed6d6;
	 border: 2px solid #8ed6d6;
	 padding: 1em;
	 width: 46%;
}
 .main-timeline .timeline .timeline-item .timeline-content h3, .main-timeline .timeline .timeline-item .timeline-content p, .main-timeline .timeline .timeline-item .timeline-content button {
	 margin: 20px;
}
 .main-timeline .timeline .timeline-item:nth-child(even) .timeline-content {
	 float: right;
}
 .main-timeline .timeline .timeline-item:nth-child(2):before {
	 background: #bea4ec;
}
 .main-timeline .timeline .timeline-item:nth-child(2) .timeline-content {
	 background: #bea4ec;
	 border: 2px solid #bea4ec;
}
 .main-timeline .timeline .timeline-item:nth-child(3):before {
	 background: #aec785;
}
 .main-timeline .timeline .timeline-item:nth-child(3) .timeline-content {
	 background: #aec785;
	 border: 2px solid #aec785;
}
 .main-timeline .timeline button {
	 background: #fff;
	 border: 2px solid #fff;
	 color: #656565;
	 font-weight: 500;
	 padding: 10px;
	 transition: all 0.3s;
}
 .main-timeline .timeline button:hover {
	 background: #fff;
	 border: 2px solid #656565;
}
 @media screen and (max-width: 968px) {
	 .main-timeline .timeline {
		 margin: 0 0 0 10px;
	}
	 .main-timeline .timeline:before {
		 left: 0px;
	}
	 .main-timeline .timeline .timeline-item:before {
		 left: 0;
	}
	 .main-timeline .timeline .timeline-item .timeline-content {
		 margin: 2em 0;
		 width: 100%;
	}
	 .main-timeline .timeline .timeline-item:nth-child(even) .timeline-content {
		 float: initial;
	}
}
 
</style>

I change from the 'main' class  into 'main-timeline' in order not to make any conflict of Squarespace's standard block

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted
10 hours ago, bangank36 said:

My testing on my own site

image.png.094b4857f9532d60c8689b09e08a9815.png

Thanks a lot @bangank36 
You are awesome! 

The only problem I see is that the timeline nodes are shown offset from the vertical line to the right, and the vertical line itself is not centred between the boxes. Any idea how to fix it?

  • 4 weeks later...
Posted
On 3/15/2022 at 10:26 AM, gab said:

Thanks a lot @bangank36 
You are awesome! 

The only problem I see is that the timeline nodes are shown offset from the vertical line to the right, and the vertical line itself is not centred between the boxes. Any idea how to fix it?

Try adding the following code to fix the issue

.timeline {
  padding-left:0;
}

Let me know how it works

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted
On 4/13/2022 at 1:29 AM, bangank36 said:

My testing

image.thumb.png.a134b5a8c6d069696da2b1ba947aeb5a.png

Thank you very much, it works!!! 

I use the "Raleway" font family in my website. Could you guide me please how to install the font inside the code?

 

Posted
On 4/18/2022 at 4:06 AM, gab said:

Thank you very much, it works!!! 

I use the "Raleway" font family in my website. Could you guide me please how to install the font inside the code?

 

Try adding this to Design > Custom CSS

.timeline * {
	font-family: Raleway !important;
}

 

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!)

Posted
3 hours ago, tuanphan said:

Try adding this to Design > Custom CSS

.timeline * {
	font-family: Raleway !important;
}

 

Thank you but it doesn't work 😞

  • 2 weeks later...
Posted
On 4/22/2022 at 4:14 PM, tuanphan said:

Can you share link to page where you added timeline? We can check easier

I found a work around, thank you!

  • 1 year later...
Posted

Hey,

Here's an easy free tutorial that'll get you started on creating a classy, minimalist vertical timelines in Squarepace using the 7.1 Fluid engine and little CSS.

If you don't want to code yourself

If you don't want to tinker with CSS but want a well designed, responsive or even animated timeline, you could also take a look at this blog post about different types of vertical timelines and this (paid) Squarespace Vertical Timeline Plugin with multiple options, including turning a portfolio page to animated timeline.

Freelance Squarespace developer making plugins like Full-Width Blocks, Hover effects for grid gallery and the Darkmode plugin. I know Squarespace inside out and I'm able to solve pretty much any Squarespace code problem.

Get in touch here!

  • 7 months later...
Posted

Hey @GlynMusica I wanted to share that I’ve developed a Squarespace timeline plugin that might be of interest to you. Works on both versions (7.0 and 7.1)

The plugin is built with the Squarespace editor, so there’s no need for custom code. It’s user-friendly and designed to integrate seamlessly with your Squarespace site.

You can find the plugin here:

Vertical Timeline
https://squarestash.com/product/timeline-01/ and

Alternative Vertical Timeline
https://squarestash.com/product/timeline-02/

I hope this plugin can be a valuable resource for those looking to add a timeline to their Squarespace site. Please feel free to reach out if you have any questions or need further assistance.

Screenshot of Vertical Timeline:

AlternativeVerticaltimeline.thumb.png.6c9235546af3812ce8f118d752a7b318.png

Screenshot of Alternative Vertical Timeline:

VerticalTimeline.thumb.png.f845f6761bfee3d8b6af246ad749a997.png
 

Posted

If you are looking for a way to add a timeline to your Squarespace site, you will love this Timeline Guide: https://squarestash.com/code/squarespace-timeline-guide/

It has four awesome timeline plugins for you to choose from, two of them are free and two of them are paid. Paid plugins are built with the Squarespace editor, eliminating the need for custom code. They work perfectly with the Squarespace editor and look amazing on your site.

I hope you find this guide and the plugins useful and fun. If you have any questions or need any help, just let me know. I'm always happy to help.

  • 2 months later...
Posted

@Shadmon

Thank you soooo much for sharing that! I was trying to use some jquery that I purchased, but can't get it to work (and the developer isn't responding 😞 so I might have to set up a chargeback on my credit card).

You just saved me sooo much time and heart-ache, cause I was sooo excited for the timeline feature, and I wanted to finish my portfolio this week so I can start applying to jobs. 

Thank you, thank you!

  • 5 months later...

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.