How to Create a Vertical Sticky Timeline Layout in Divi

How to Create a Vertical Sticky Timeline Layout in Divi

Creating a vertical sticky timeline can be extremely useful for categorizing content by year and/or month as the user scrolls down the page. The sticky date elements remain fixed beside the content for a convenient UX boost that users will appreciate.

In this tutorial, we are going to show you how to create a complete vertical sticky timeline layout in Divi. The keys to this design are (1) to give your columns a custom width so that the date elements don’t take up too much horizontal space on mobile and (2) to make the year and month sticky, with sticky limits on the section (for the year) and row (for the month).

Although this layout has multi-faceted applications, we are going to build a timeline layout for showcasing photo galleries categorized by month and year.

Let’s get started!

Sneak Peek

Here is a quick look at the design we’ll build in this tutorial.

Download the Layout for FREE

To lay your hands on the designs from this tutorial, you will first need to download it using the button below. To gain access to the download you will need to subscribe to our Divi Daily email list by using the form below. As a new subscriber, you will receive even more Divi goodness and a free Divi Layout pack every Monday! If you’re already on the list, simply enter your email address below and click download. You will not be “resubscribed” or receive extra emails.

To import the section layout to your Divi Library, navigate to the Divi Library.

Click the Import button.

In the portability popup, select the import tab and choose the download file from your computer.

Then click the import button.

Once done, the section layout will be available in the Divi Builder.

Let’s get to the tutorial, shall we?

What You Need to Get Started

expanding corner tabs

To get started, you will need to do the following:

  1. If you haven’t yet, install and activate the Divi Theme.
  2. Create a new page in WordPress and use the Divi Builder to edit the page on the front end (visual builder).
  3. Choose the option “Build From Scratch”.

After that, you will have a blank canvas to start designing in Divi.

Part 1: Building the Stick Heading

The first element we are going to design is the sticky heading that will remain fixed at the top of the page on scroll.

Add Row

To get started, add a two-fifths three-fifths column layout to the section.

divi vertical sticky timeline

Left Heading Text

In the left column, we are going to add the heading for the timeline that will be on the left side of the page. To do this, add a text module to the left column.

divi vertical sticky timeline

Then add the text “Timeline” to the body of the text module.

divi vertical sticky timeline

Under the design tab, update the following text styles:

  • Text Font: Oxygen
  • Text Font Weight: Bold
  • Text Font Style: TT
  • Text Text Color: #666666
  • Text Size: 50px (desktop), 30px (tablet), 18px (phone)
  • Text Line Height: 1em
  • Text Alignement: right

divi vertical sticky timeline

Then update the padding as well:

divi vertical sticky timeline

Right Heading Text

To create the heading for the gallery content on the right side of the page, copy the text module in the left column and paste it into the right column.

divi vertical sticky timeline

Then open the duplicate text module settings and update the following:

  • Text Text Color: #c22969
  • Text Alignment: Left (desktop), Left (tablet)

divi vertical sticky timeline

Row Settings

To give us the room we need on mobile, we need to update the row settings as follows:

  • Gutter Width: 1
  • Width: 100%
  • Max Width: 1280px
  • Padding: 10px top, 10px bottom

divi vertical sticky timeline

Under the advanced tab, add the following custom CSS to the Main Element on tablet:

display:flex;
flex-wrap:nowrap;

divi vertical sticky timeline

Left Column Settings

Because we are using a row gutter width of 1, there is no spacing between columns. To add sufficient spacing, open the settings for column 1 and update the padding as follows:

  • Padding (desktop): 10px top, 10px bottom, 20px left, 20px right
  • Padding (tablet): 10px bottom, 10px left, 10px right

divi vertical sticky timeline

Next, we want to override the default left column width on tablet and phone so that it is 30% of the row’s width. This will match the column width we are going to add to the columns in the timeline below.

To do this, open the settings for the left column (column1) and add the following CSS to the Main Element on Tablet:

width: 30% !important;

divi vertical sticky timeline

For the right column, we want to add the same padding as we did in column 1. And we will add a left border to the column to serve as a divider as follows:

  • Padding (desktop): 10px top, 10px bottom, 20px left, 20px right
  • Padding (tablet): 10px bottom, 10px left, 10px right
  • Left Border Width: 2px
  • Left Border Color: #333333

divi vertical sticky timeline

We also want the width of the right column to be 70% of the row’s width. To update the column width, open the settings of column 2 and add the following CSS to the Main Element on tablet:

width: 70% !important;

divi vertical sticky timeline

Section Settings

To finish off the heading design, open the section settings, and update the background color:

  • Background Color: #222222

divi vertical sticky timeline

Then update the section padding:

  • Padding: 0px top, 0px bottom

divi vertical sticky timeline

To make the section sticky, go the Advanced tab and update the following:

  • Sticky Position: Stick to Top

divi vertical sticky timeline

Part 2: Creating the Sticky Timeline

This next part of the design is where we create the sticky timeline portion of the layout. The key here is to design the first section, row, and modules with all of the elements in place. Then we can duplicate each section or row as needed.

Add Section

To start, add a new regular section under the heading section we just finished.

divi vertical sticky timeline

Before we start adding our rows and content, open the section settings and update the following:

  • Padding: 0px top, 0px bottom

divi vertical sticky timeline

Add the Row, Row Styles, and Column Structure

Next, create a one-fifth one-fifth three-fifths column row to the section.

divi vertical sticky timeline

To jumpstart the design of the row, copy the styles of the row in the heading section above and paste it into the new row.

divi vertical sticky timeline

Then open the settings of the new row and update the following:

  • Padding: 50px top, 50px bottom

divi vertical sticky timeline

Then add the custom CSS to the Main Element on tablet as follows:

display:flex;
flex-wrap:nowrap;

divi vertical sticky timeline

Creating the Sticky Year

The first sticky date element for the timeline will be the year. This “year” text element will stick to the top of the section on scroll.

To create the year text element, add a new text module to column 1.

divi vertical sticky timeline

Then add the text “2020” to the body.

divi vertical sticky timeline

Under the design tab, update the text styles as follows:

  • Text Font: Oxygen
  • Text Font Weight: Bold
  • Text Text Size: 40px (desktop), 24px (tablet), 18px (phone)
  • Text Alignment: right

divi vertical sticky timeline

To make the year stick to the top of the section, update the following:

  • Sticky Position: Stick to Top
  • Sticky Top Offset: 50px
  • Bottom Sticky Limit: Section

divi vertical sticky timeline

Creating the Sticky Month

To create the sticky month text, copy the text module containing the sticky year and paste it into column 2.

divi vertical sticky timeline

Then open the settings for the new text module in column 2 and update the text body with “dec” (the month abbreviation).

divi vertical sticky timeline

The month text needs to stick to the top of the row instead of the section, so update the sticky limit as follows:

divi vertical sticky timeline

Adding the Gallery Content

In the far right column (column 3), we are going to add the content that correlates to the specific month/year. In this case, we are going to add a gallery module to display a gallery of images.

To create the gallery, add a gallery module in column 3.

divi vertical sticky timeline

Then add at least 6 images to the gallery (or however many you want) and update the following:

  • Image Count: 6
  • Show Title and Caption: NO
  • How Pagination: NO

divi vertical sticky timeline

Under the design tab, update the following:

  • Padding: 3% left, 3% right

divi vertical sticky timeline

To create some custom spacing between the gallery items, add the following custom CSS to the Gallery Item CSS:

padding: 0 1% 2% 1%;

divi vertical sticky timeline

Update Column Widths and Spacing

Like we did for the columns in the heading section, we are going to give our columns custom spacing and widths (one mobile) so that they line up with the headings and look good on tablet and phone.

Column 1

Open the settings for column 1 and update the following:

  • Padding: 1% left, 2% right

divi vertical sticky timeline

Under the advanced tab, add the following custom CSS to the Main Element on tablet:

width: 15% !important;

divi vertical sticky timeline

Then open the settings for column 2 and add the same padding and CSS as follows:

  • Padding: 1% left, 2% right

Main Element CSS (tablet):

width: 15% !important;

divi vertical sticky timeline

Then open the settings for column 3 and update the padding and Main Element CSS as follows:

  • Padding: 1% left, 2% right

Main Element CSS (tablet):

width: 70% !important;

divi vertical sticky timeline

Duplicate the Row for Additional Months

Once the first row is complete, we can duplicate the row for additional months.

Duplicate the row.

divi vertical sticky timeline

In the duplicate row, take out the text for the year. We only need one year per section since the year will stick to the top and bottom of the section.

divi vertical sticky timeline

Then open the text for the month and update the month abbreviation with a new month.

divi vertical sticky timeline

Duplicate the Section for Additional Years

In the same way we duplicated the row for additional months, we can duplicate the entire section for additional years.

Go ahead and duplicate the section we just created for 2020 content.

divi vertical sticky timeline

In the duplicate section, update the year text in row 1, column 1 with the year “2019”.

divi vertical sticky timeline

You can continue this process to build addition years and months as needed for your timeline layout.

Final Result

Check out the final result.

Final Thoughts

The brunt of the design work for this timeline layout is to make it responsive by giving the text sizes and column width mobile-specific styles. But, the sticky positioning of the date elements is extremely easy with Divi’s built-in options. Hopefully, this will come in handy for future projects. I can see this being helpful for showcasing a history timeline for an about page or even for a resources page, downloads page, or product updates.

I look forward to hearing from you in the comments.

Cheers!

Get a FREE Virtual Assistant Layout Pack for Divi

Get a FREE Virtual Assistant Layout Pack for Divi

Hey Divi Nation! Thanks for joining us for the next installment of our weekly Divi Design Initiative; where each week, we give away a brand new, free Divi Layout Pack from our design team to you.

For this week, Kenny and his team have created a beautifully polished Virtual Assistant Layout Pack. Get an edge on the competition with this professional virtual assistant layout pack. This pack will help get your virtual assistant site up quickly so that you can promote your skills with an efficient and unique design. In addition to valuable custom icons and background images, the layout pack has dedicated pages for showcases a wide variety of services to help land more clients!

Check it out!

Landing Page Design

View The Live Layout Demo

Home Page Design

View The Live Layout Demo

About Page Design

View The Live Layout Demo

Blog Page Design

View The Live Layout Demo

Contact Page Design

View The Live Layout Demo

Services Page Design

View The Live Layout Demo

Service Page Design

View The Live Layout Demo

Key Features

The Virtual Assistant Layout pack really offers valuable design needed for promoting a wide variety of virtual assistant services. The background images and icons are key additions. And the services page and service page are definitely a necessity.

Live Demos

Click the links below to see a live demo for each of the layouts included in the pack.

  1. Virtual Assistant Landing Page (live demo)
  2. Virtual Assistant Homepage (live demo)
  3. Virtual Assistant About Page (live demo)
  4. Virtual Assistant Services Page (live demo)
  5. Virtual Assistant Service Page (live demo)
  6. Virtual Assistant Blog Page (live demo)
  7. Virtual Assistant Contact Page (live demo)

Access This Layout Right Now
Directly from Your Divi Builder

Subscribe To Our Youtube Channel

Since Version 3.0.99 of Divi, you can find and import any of the layouts included in this pack (along with ALL of Divi’s Premade Layout packs) directly from the Divi Builder. They are already waiting for you.

To access your new layout, simply activate the Visual Builder when editing a page and look for the “Load From Library” icon in the page settings bar (it looks like a plus symbol). Click this icon to launch the Load From Library popup. Under the Premade Layouts tab, you can easily find the new layout by scrolling through the list of layout packs. Once you find the Virtual Assistant Layout Pack, click on it. You will see all the individual layouts included in the pack. Select the layout you want for to use and then click the “Use This Layout” button.

Authentication Required

Before you can download Premade Layouts from the Divi Library you must authenticate your Elegant Themes Subscription. If you have already activated updates for Divi under Divi > Theme Options > Updates, you have already authenticated your subscription and will have access to the layouts without a problem. If not, when you click to import a layout to your page, you will be prompted to enter your Elegant Themes Membership Username and API Key.

After you enter the Username and API Key, you will gain immediate access to the layouts. You can find your API Key under your members area on the Elegant Themes site.

No Licensing Restrictions

The photos included with these layouts have no licensing restrictions. This means you can use them in all of your commercial projects without having to worry about paying licensing fees or attributing the photographer. Use them in your commercial websites, sell them within your Divi child themes, include them in your own Divi layout packs or just use them on your blog. We know how challenging it can be to find good photos and how confusing and scary the licensing that governs those photos can be. We want to fix that problem for our users.

Download the Full Res Image Assets

New Layout Pack Every Week!

We hope you enjoy this layout pack. We look forward to hearing your opinions in the comment section below. Make sure you check out next week’s layout pack as well!

Get a FREE Blog Post Template for Divi’s Coworking Space Layout Pack

Get a FREE Blog Post Template for Divi’s Coworking Space Layout Pack

Hey Divi Nation! Thanks for joining us for the next installment of our weekly Divi Design Initiative where each week, we give away brand new freebies. In the past, we shared the beautiful Coworking Space Layout Pack. To help you get your website up and running as soon as possible, we’re sharing a blog post template that matches this layout pack perfectly as well! Hope you enjoy it.

coworking space blog post template

Download The Blog Post Template For The Coworking Space Layout Pack

To lay your hands on the free blog post template, you will first need to download it using the button below. To gain access to the download you will need to subscribe to our Divi Daily email list by using the form below. As a new subscriber, you will receive even more Divi goodness and a free Divi Layout pack every Monday! If you’re already on the list, simply enter your email address below and click download. You will not be “resubscribed” or receive extra emails.

How to Upload The Template

Go to Divi Theme Builder

To upload the template, navigate to the Divi Theme Builder in the backend of your WordPress website.

coworking space blog post template

Upload Blog Post

Then, in the top right corner, you’ll see an icon with two arrows. Click on the icon.

coworking space blog post template

Navigate to the import tab, upload the JSON file which you were able to download in this post and click on ‘Import Divi Theme Builder Templates’.

Save Divi Theme Builder Changes

Once you’ve uploaded the file, you’ll notice a new blog post template. Save the Divi Theme Builder changes as soon as you want the template to be activated.

coworking space blog post template

How to Modify The Template

Open Post Template

To modify the blog post template’s elements, start by opening the template.

coworking space blog post template

Keep Post Content Module Inside Template

Inside the Body Layout Editor, you can edit the design on the front end using the Divi Builder just like you would with a normal Divi page.

Since this is a template that has been assigned to all posts for the site, there is a post content module that is necessary for displaying the post content. You will need to keep that module in place, but you can adjust the design elements of the post content module which will design the post content that is displayed dynamically.

coworking space blog post template

About the Layout

This blog post template has a lot of dynamic elements that will work with your blog posts immediately. For example, the entire post header is made up of dynamic elements including a featured image as the background, the post title, and the post metadata. This content won’t need updating, but you can tweak the design of each of those elements if needed.

Other dynamic elements in this layout include the following:

  • Post Content – displays the post content added when editing the post on the backend of WordPress.
  • Comments – a functional comment area for the post.

Here is a quick illustration that identifies the elements of the coworking space blog post template.

coworking space blog post template

New Freebies Every Week!

We hope you’ve enjoyed the blog post template for the Coworking Space Layout Pack. We look forward to hearing your opinions in the comment section below. Make sure you check back next week for more freebies!