How to Expand Your Map Module on Scroll with Divi’s Scroll Effects

Posted on May 16, 2023 by Leave a Comment

How to Expand Your Map Module on Scroll with Divi’s Scroll Effects
Blog / Divi Resources / How to Expand Your Map Module on Scroll with Divi’s Scroll Effects

Adding a map to your website is a great way to show your visitors where you or your business is located. With Divi‘s built-in settings, you have full creative control over the design of your map module and any surrounding design elements. Take your designs to another level by applying scroll effects to your module. With several different types of effects to choose from and settings to fine-tune the effect until you achieve exactly what you want, using scroll effects can help you add eye-catching movement to your website modules. In this post, we will show you how to enlarge your map module on scroll with Divi’s scroll effects.

Let’s get started!

Sneak Peek

Here is a preview of what we will design.

Layout 1

Divi Enlarge Map On Scroll With Scroll Effects Layout 1 Final Design Mobile

Layout 2

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Final Design Mobile

What You Need to Get Started

Before we begin, install and activate the Divi Theme and make sure you have the latest version of Divi on your website.

Now, you are ready to start!

How to Enlarge Your Map Module on Scroll with Divi’s Scroll Effects

Layout 1

Create a New Page with a Premade Layout

Let’s start by using a premade layout from the Divi library. For this design, we will use the Acai Bowl Landing Page from the Acai Bowl Layout Pack.

Add a new page to your website and give it a title, then select the option to Use Divi Builder.

Divi Enlarge Map On Scroll With Scroll Effects Use Builder

We will use a premade layout from the Divi library for this example, so select Browse Layouts.

Divi Enlarge Map On Scroll With Scroll Effects Find Layout

Search for and select the Acai Bowl Landing Page.

Divi Enlarge Map On Scroll With Scroll Effects Select Layout

Select Use This Layout to add the layout to your page.

Divi Enlarge Map On Scroll With Scroll Effects Use Layout

Now we are ready to build our design.

Add the Map Module

We are going to add the map module to the “Come Visit Us” section on the landing page. Start by adding a new row with a single column.

Divi Enlarge Map On Scroll With Scroll Effects Row

Add the map module to the new row.

Divi Enlarge Map On Scroll With Scroll Effects Add Map

Add your Google API Key to enable the map if you haven’t already. Then, add a center address to the map. For this tutorial, the address will be San Fransisco, California.

Divi Enlarge Map On Scroll With Scroll Effects Map API Address

Next, add a new pin.

Divi Enlarge Map On Scroll With Scroll Effects Add Pin

Set the map pin address. Once again, we will set this to San Fransisco, California for this tutorial.

Divi Enlarge Map On Scroll With Scroll Effects Address

Design Settings

Move to the Design tab and open the sizing settings. Set the Height.

  • Height: 300px

Divi Enlarge Map On Scroll With Scroll Effects Height

Next, open the border settings and add rounded corners to the map.

  • Rounded Corners: 22px

Divi Enlarge Map On Scroll With Scroll Effects Rounded Corners

Add the Scroll Effects

Now the design of our map module is complete so that we can add the scroll effects. Move to the Advanced tab, then navigate to the Scroll Effects. Under Scroll Transform Effects, select the scaling up and down tab.

Divi Enlarge Map On Scroll With Scroll Effects Scroll Effects

Enable Scaling Up and Down. This will allow our map module to increase in size as you scroll down the page.

Divi Enlarge Map On Scroll With Scroll Effects Enable Scaling

Let’s fine-tune the scaling settings. Adjust the starting, mid, and ending scale. You can achieve a more subtle scale effect by keeping the numbers relatively close together. If there is a big difference between the numbers, you will achieve a more drastic scale effect.

  • Starting Scale: 80%
  • Mid Scale: 90%
  • Ending Scale: 100%

Divi Enlarge Map On Scroll With Scroll Effects Scaling

Finally, set the motion effect to trigger in the middle of the element.

  • Motion Effect Trigger: Middle of Element

Divi Enlarge Map On Scroll With Scroll Effects Effect Trigger

Final Design

Here is the final design for our first layout.

Divi Enlarge Map On Scroll With Scroll Effects Layout 1 Final Design Mobile

Layout 2

Create a New Page with a Premade Layout

For the second layout, we will use the contact page layout from the same Acai Bowl Layout Pack. Let’s get started.

Add a new page to your website and give it a title, then select the option to Use Divi Builder.

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Use Builder

We will use a premade layout from the Divi library for this example, so select Browse Layouts.

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Use Builder

Search for and select the Acai Bowl Contact Page.

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Find Layout

Select Use This Layout to add the layout to your page.

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Use Layout

Now we are ready to build our design.

Modify Row Settings

First, move the row containing the map module to the section above, below the addresses.

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Move Map

Then, modify the row layout to two columns.

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Row

Open the row settings, then open the column 1 settings.

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Column Settings

Add a background color.

  • Background: #442854

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Background

Finally, navigate to the design tab and open the border settings. Add rounded corners to the bottom left and right corners.

  • Rounded Corners – bottom left: 300px
  • Rounded Corners – bottom right: 300px

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Rounded Corners

Modify Section Settings

Open the section settings for the section containing the map module. Navigate to the background settings, then add a background mask.

  • Background Mask: Corner Blob
  • Mask Color: #FFFFFF
  • Mask Transform: Vertical and Invert

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Background Mask

Add Image

First, add an image module to the column next to the map module.
Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Image

Then, add the transparent image of the acai bowl to the module. You should have this in your media library labeled as acai-bowl-34.png if you used the Acai Bowl landing page layout for Layout 1.

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Add Image

We want the image of the acai bowl to rotate as you scroll down the page. Move over to the Advanced tab, then open the Scroll Effects section. Select the Rotating tab and enable rotating.

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Rotating

Next, set the rotation.

  • Starting Rotation: 180
  • Mid Rotation: 90
  • Ending Rotation: 0

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Set Rotating

Map Design

Now move over to the map module settings. Under the design tab, open the map settings. Enable the grayscale filter.

  • Use Greyscale Filter: Yes
  • Greyscale Filter Amount (%): 100

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Greyscale

Next, modify the height under the Sizing tab.

  • Height: 600px

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Height

Under the Spacing settings, add some margins.

  • Margin-Top: 5px
  • Margin-Bottom: 5px
  • Margin–Left: 5px
  • Margin-Right: 5px

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Margin

Then add rounded corners to the bottom left and right corners.

  • Rounded Corners – Bottom Left: 300px
  • Rounded Corners – Bottom Right: 300px

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Border Rounded Corners
Add Scroll Effects

Now we can finally add the scroll effects to the map so that it enlarges on scroll. Open the Scroll Effects section under the Advanced tab. Then, select the scaling up and down tab and enable scaling up and down.

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Scroll Effects

Finally, customize the scales.

  • Starting Scale: 90%
  • Mid Scale: 95%
  • Ending Scale: 100%

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Scaling

Final Design

Here is the final design for layout 2.

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Final Design Mobile

Final Result

Now let’s take a look at both of our layouts in action.

Layout 1

Divi Enlarge Map On Scroll With Scroll Effects Layout 1 Final Design Mobile

Layout 2

Divi Enlarge Map On Scroll With Scroll Effects Layout 2 Final Design Mobile

Final Thoughts

By applying Divi’s scroll effects to the map module, you can achieve a unique effect as you scroll down the page and help your map stand out to website visitors. These effects can be applied to any other module on your website as well, so there is no limit to what you can achieve with some creativity! If you are interested in more tutorials related to the map module, check out this article for how to add a fixed map toggle to your Divi page template. And if you want some more design ideas using scroll effects, check out this tutorial for how to add scroll-animated icons to your section backgrounds. How have you applied Divi’s scroll effects to your website? Let us know in the comments!

Divi Cyber-monday Sale

It's The Divi Cyber Monday Sale! Save Big For A Limited Time 👇

Save big on Divi and Divi products for a limited time.

Access The Sale
Divi Cyber-monday
Premade Layouts

Check Out These Related Posts

Divi 5 Update: Public Alpha Version 5

Divi 5 Update: Public Alpha Version 5

Posted on December 10, 2024 in Divi Resources

The Divi 5 Public Alpha is available for testing. If you use Divi 5, you’ll notice an update notification for Public Alpha Version 5 today. We release new Divi 5 versions every two weeks, and it gets better each time! If you haven’t tested Divi 5 yet, try it and let us know what you...

View Full Post
How To Supercharge Your Divi Ecommerce Websites

How To Supercharge Your Divi Ecommerce Websites

Posted on December 8, 2024 in Divi Resources

Looking to create better eCommerce stores with Divi and WooCommerce? The Cyber Monday Ecommerce Bundle is your key to creating visually stunning, high-performing online stores. This collection of Divi extensions, child themes, and templates is designed to simplify your workflows, improve site...

View Full Post

Leave A Reply

Comments are reviewed and must adhere to our comments policy.

👋 It's The Divi
Cyber Monday Sale!
Get The Deal
Before It's Gone!
Join To Download Today