How to Reveal a Column CTA in a Sticky State with Divi

Last Updated on September 16, 2022 by 2 Comments

How to Reveal a Column CTA in a Sticky State with Divi
Blog / Divi Resources / How to Reveal a Column CTA in a Sticky State with Divi

At a certain point when youโ€™re creating a page design, you might run into a list of services, courses, or something similar that you want to share in an interactive way. The design youโ€™re using for your list content plays a very important role in how your visitors digest the content. And with most lists, youโ€™re also going to want to include a call to action that connects the dots. If youโ€™re looking for a creative way to do that, youโ€™ll love this tutorial.

Today, weโ€™ll show you how to reveal a column CTA in a sticky state with Divi. As soon as the CTA touches the end of the column, the sticky effect stops, which gives an effortless experience in which people can continue reading the list items and decide to take action whenever they want without having to scroll up or down to find the CTA. Weโ€™ll share the JSON file for free as well!

Letโ€™s get to it.

Preview

Before we dive into the tutorial, letโ€™s take a quick look at the outcome across different screen sizes.

Desktop

column cta

Mobile

column cta

Download The Sticky Column CTA Section Layout for FREE

To lay your hands on the free sticky column CTA section layout, you will first need to download it using the button below. To gain access to the download you will need to subscribe to our newsletter 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.

Letโ€™s Start Recreating!

Add New Section

Background Color

Start by adding a new section to the page youโ€™re working on. Open the section settings and apply a white background color.

  • Background Color: #ffffff

column cta

Add Row #1

Column Structure

Continue by adding a new row using the following column structure:

column cta

Spacing

Without adding any modules yet, open the row settings and apply some bottom margin.

  • Bottom Margin: 5%

column cta

Add Text Module to Column

Add H2 Content

Add a Text Module with some H2 content of your choice.

column cta

H2 Text Settings

Move on to the moduleโ€™s design tab and change the H2 text settings accordingly:

  • Heading 2 Font: Alata
  • Heading 2 Font Weight: Bold
  • Heading 2 Text Alignment: Center
  • Heading 2 Text Color: #000000
  • Heading 2 Text Size:
    • Desktop: 55px
    • Tablet: 40px
    • Phone: 30px

column cta

Add Divider Module to Column

Visibility

Right below the Text Module, add a Divider Module and make sure the โ€œShow Dividerโ€ option is enabled.

  • Show Divider: Yes

column cta

Line

Move on to the moduleโ€™s design tab and change the line settings as follows:

  • Line Color: #3a7a84
  • Line Style: Double

column cta

Sizing

Complete the moduleโ€™s settings by modifying the sizing settings accordingly:

  • Divider Weight: 10px
  • Width: 8%
  • Module Alignment: Center
  • Height: 10px

column cta

Add Row #2

Column Structure

Continue by adding another row right below the previous one using the following column structure:

column cta

Sizing

Open the row settings and modify the sizing settings as follows:

  • Use Custom Gutter Width: Yes
  • Gutter Width: 2
  • Equalize Column Heights: Yes
  • Width: 95%
  • Max Width: 2580px

column cta

Spacing

Remove all default top and bottom padding next.

  • Top Padding: 0px
  • Bottom Padding: 0px

column cta

Column 1 Settings

Background Image

Then, open the column 1 settings and apply a background image.

  • Background Image Size: Cover

column cta

column cta

Border

Move on to the columnโ€™s design tab and apply some rounded corners.

  • All Corners: 20px

column cta

Add Blurb Module to Column 2

Add Content

Time to add modules, starting with a Blurb Module in column 2. Add some content of your choice.

column cta

Select Icon

Select an icon next.

column cta

Background Color

Then, apply a white background color.

  • Background Color: #FFFFFF

column cta

Icon Settings

Move on to the moduleโ€™s design tab and change the icon settings accordingly:

  • Icon Color: #3a7a84
  • Image/Icon Placement: Left

column cta

Title Text Settings

Then, style the title text settings.

  • Title Heading Level: H3
  • Title Font: Alata
  • Title Font Weight: Bold
  • Title Text Color: #000000
  • Title Text Size:
    • Desktop: 35px
    • Tablet: 30px
    • Phone: 20px

column cta

Body Text Settings

Make some changes to the body text settings too.

  • Body Font: Karla
  • Body Text Size:
    • Desktop: 17px
    • Tablet: 15px
    • Phone: 14px
  • Body Line Height: 2.5em

column cta

Sizing

Change the sizing settings next.

  • Content Width: 100%

column cta

Spacing

And apply some custom padding values to the spacing settings.

  • Top Padding: 20%
  • Bottom Padding: 20%
  • Left Padding: 10%
  • Right Padding: 10%

column cta

Border

Next, weโ€™ll add some rounded corners to the border settings.

  • All Corners: 20px

column cta

Box Shadow

And weโ€™ll include a subtle box shadow.

  • Box Shadow Blur Strength: 50px
  • Shadow Color: rgba(59,120,130,0.14)

column cta

Animation

Continue by removing the Blurb Moduleโ€™s default animation in the animation settings next.

  • Image/Icon Animation: No Animation

column cta

Blurb Title CSS

And complete the module settings by adding one line of CSS code to the blurb title CSS box in the advanced tab.

margin-bottom: 20px;

column cta

Clone Blurb Module Twice

Once youโ€™ve completed the first Blurb Module, clone the Blurb Module up to as many times as you need.

column cta

Change Content

Change the content in each duplicate module.

column cta

Add CTA Module to Column 1

Add Content

In column 1, the only module we need is a Call to Action Module. Add some content of your choice.

column cta

Add Button Link

Add a button link next.

column cta

Gradient Background

Then, apply a gradient background.

  • Color 1: rgba(59,120,130,0.53)
  • Color 2: #112730
  • Gradient Type: Linear
  • Gradient Direction: 161deg

column cta

Title Text Settings

Move on to the moduleโ€™s design tab and make the following changes to the title text settings:

  • Title Heading Level: H3
  • Title Font: Alata
  • Title Font Weight: Bold
  • Title Text Color: #ffffff
  • Title Text Size:
    • Desktop: 50px
    • Tablet & Phone: 30px

column cta

Button Settings

Style the button next.

  • Use Custom Styles For Button: Yes
  • Button Text Size:
    • Desktop: 20px
    • Tablet: 17px
    • Phone: 15px
  • Button Border Width: 0px
  • Button Border Radius: 0px

column cta

  • Button Font: Alata
  • Button Font Weight: Bold

column cta

  • Top Padding: 20px
  • Bottom Padding: 20px
  • Left Padding: 20px
  • Right Padding: 20px
  • Box Shadow Horizontal Position: 0px
  • Box Shadow Vertical Position: 3px
  • Shadow Color: #ffffff

column cta

Sizing

Move on to the moduleโ€™s sizing settings and apply the following changes:

  • Width:
    • Desktop: 95%
    • Tablet & Phone: 100%
  • Module Alignment: Center

column cta

Spacing

Add some custom top and bottom padding too.

  • Top Padding: 150px
  • Bottom Padding: 150px

column cta

Border

Include some rounded corners as well.

  • All Corners: 20px

column cta

Transform Translate

Complete the module settings by applying the following transform translate settings:

  • Right:
    • Desktop: -25px
    • Tablet & Phone: 0px

column cta

Apply Sticky Effect to CTA Module

Sticky Settings

Now that all elements are in place, itโ€™s time to apply the sticky effect. Open the CTA Module and apply the following sticky settings:

  • Sticky Position:
    • Desktop: Stick to Top
    • Tablet & Phone: Do Not Stick
  • Sticky Top Offset: 50px
  • Bottom Sticky Limit: Column
  • Offset From Surrounding Sticky Elements: Yes
  • Transition Default and Sticky Styles: Yes

column cta

Opacity

Now that the module is turned sticky, we can apply sticky styles. Go to the filters settings and apply the following opacity filter settings:

  • Default Opacity:
    • Desktop: 0%
    • Tablet & Phone: 100%
  • Sticky Opacity: 100%

column cta

Transition

Last but not least, weโ€™ll change the transition settings in the advanced tab. Thatโ€™s it!

  • Transition Duration: 800ms
  • Transition Speed Curve: Ease

column cta

Preview

Now that weโ€™ve gone through all the steps, letโ€™s take a final look at the outcome across different screen sizes.

Desktop

column cta

Mobile

column cta

Final Thoughts

In this post, weโ€™ve shown you how to get creative with Diviโ€™s sticky options. More specifically, weโ€™ve shown you how to beautifully display list items with a sticky column CTA. This approach allows you to visually display all the items and have a call to action closeby while your visitors ready through your services, courses or other types of lists. You were able to download the JSON file for free as well! If you have any questions, feel free to leave a comment in the comment section below.

If youโ€™re eager to learn more about Divi and get more Divi freebies, make sure youย subscribe to our email newsletterย andย YouTube channelย so youโ€™ll always be one of the first people to know and get benefits from this free content.

Divi Marketplace

Are You A Divi User? Find Out How To Get More From Divi! ๐Ÿ‘‡

Browse hundreds of modules and thousands of layouts.

Visit Marketplace
Divi Marketplace
Divi Cloud

Find Out How To Improve Your Divi Workflow ๐Ÿ‘‡

Learn about the new way to manage your Divi assets.

Get Divi Cloud
Divi Cloud
Divi Hosting

Want To Speed Up Your Divi Website? Find Out How ๐Ÿ‘‡

Get fast WordPress hosting optimized for Divi.

Speed Up Divi
Divi Hosting
Premade Layouts

Check Out These Related Posts

New Starter Site for Estheticians (Quick Install)

New Starter Site for Estheticians (Quick Install)

Posted on November 12, 2024 in Divi Resources

Divi empowers you to build the best websites possible, and now, Divi Quick Sites takes website creation to a whole new level. This revolutionary tool lets anyone, regardless of skill level, generate a complete website in under two minutes! Divi Quick Sites provides everything you need to launch...

View Full Post
Divi 5 Update: Public Alpha Version 3

Divi 5 Update: Public Alpha Version 3

Posted on November 11, 2024 in Divi Resources

The Divi 5 Public Alpha is available for testing. As we progress towards the final release, we’ll update Divi 5 every two weeks, appearing as a standard update in your WordPress dashboard. If you use Divi 5, you’ll notice an update notification for Public Alpha Version 3ย today. Thanks...

View Full Post

2 Comments

  1. Looks awesome! Thanks for explaining.

    • Happy you’ve enjoyed the tutorial, Edgar! ๐Ÿ™‚

Leave A Reply

Comments are reviewed and must adhere to our comments policy.

Join To Download Today