Welcome to Day 57 of our Divi 100 Marathon. Keep tuning in for 100 days in a row of awesome Divi resources as we count down to the amazing release of Divi 3.0 on the final day of the series!


Responsive grids are perfect for showcasing a collection of links to content because they look good on every device. The Divi page builder has some fantastic built-in modules which use grid displays, including the Portfolio Grid, the Blog Grid and the Gallery Grid.

But sometimes you might want a visual display of links to selected pages of your site rather than auto-generated content. You can easily use the Divi Image Module, but I like to include a button link, so that visitors understand that the image they can see is also a clickable call to action.

You could use a plugin, like Essential Grid, to achieve an image grid with buttons, but I prefer not to have to add a plugin when I don’t need one. Instead we’re going to be creating the grid below using the Divi Call To Action Module.

divi-call-to-action-responsive-grid

How to Create a Responsive Image Grid with the Divi Builder and the Call to Action Module

First, add a Speciality Section to your page. To recreate the grid, choose the one-third / two-third layout.

speciality-section

Start by selecting the Advanced tab of the speciality section and check the Equalize Columns box and set the custom gutter width to 0. Make sure you also do this for each of the yellow subsections too as well as all of the column settings throughout the section and subsections. If you have some unexplained gaps in your finished grid, this will be the reason.

gutter-settings

Now, add a second row with two columns to the right hand area. Add your first Call To Action module. We are going to customize this module first and then duplicate it to use in the other module areas.

rows-call-to-action

In the General Settings tab of your new Call To Action module, add a button link, some button text and center your text if you wish, which will also center the button.

cta-general

In the Advanced Design tab, add your chosen image to the background image area. If you wish to have a space between your grid images, you can use the border tool. Finally, set all margins to 0px and the custom padding to your desired height in the top and bottom boxes. You may need to play around with the height settings until you are happy.

cta-advanced

To prevent the background tiling and to vertically center the buttons, add the following CSS to the Custom CSS tab in the areas shown.

background-size: inherit;
padding-bottom: 0px;

css

At this stage, you should have a single image, styled and ready to duplicate. Copy it across to the right hand column areas, so that you have a Call To Action Module in each. To achieve an even grid, I set the top and bottom padding for the ⅔ section to 150px and for the bottom two squares, set that to 132px.

Sounds like a random number, right? You might find that you need to play around with the padding settings to get a perfectly even grid.

A nice finishing touch is to change the padding settings for tablet and mobile to give the modules a uniform height once the tablet breakpoint kicks in. I found that 220px for tablet and 150px for mobile produced even squares for the mobile versions.

You now have a finished grid!

Download This Grid For Free

divi-call-to-action-responsive-grid

Want a shortcut? Download my Responsive Grid Layout to give you a head start. To import this json file, navigate to the Divi > Divi Library page and click the Import/Export button at the top of the screen.

What Other Divi Tutorials Would You Like Us to Cover?

While we’re always coming up with new ideas for Divi tutorials ourselves, no one knows what is needed most like the community using Divi day in and day out for countless purposes. So please tell us in the comments below what you’d like to learn how to do with Divi and we’ll write it up!

And be sure to subscribe to our email newsletter and YouTube channel so that you never miss a big announcement, useful tip, or Divi freebie!

divi-2-6-logo

Divi 100 Day 57

The Countdown To Divi 3.0

This post is part of our Divi 100 marathon. Follow along as we post free Divi resources for 100 days in a row! This 100-day countdown will end with the game-changing release of Divi 3.0, including our brand new visual editor built from the ground up using React. Divi 3.0 will change the way you build websites with the Divi Builder forever!
Let the countdown begin.

jQuery(document).ready(function(){jQuery(“#DIV_TO_PLACE_COUNTDOWN”).jCountdown({timeText:”2016/9/7 7:00:00″,timeZone:-8,style:”slide”,color:”black”,width:0,textGroupSpace:15,textSpace:0,reflection:false,reflectionOpacity:10,reflectionBlur:0,dayTextNumber:1,displayDay:true,displayHour:true,displayMinute:true,displaySecond:true,displayLabel:true});});Learn More About Divi 3.0

.section-header{width: 520px; padding: 50px 40px 20px; margin: 100px 0; text-align: center; color: #fff !important; position: relative; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; background: #6c2eb9; background-image: url(http://cdn.elegantthemes.com/blog/wp-content/uploads/2016/04/divi-100.jpg); background-repeat: no-repeat;}.section-header h2{margin-top: 0 !important; color: #fff;}.section-header strong{color:#fff;}.section-header img{margin-bottom: 10px;}.section-header:after{position: absolute; bottom: -16px; left: 50%; margin-left: -16px; width: 32px; height: 32px; -ms-transform: rotate(45deg); -webkit-transform: rotate(45deg); transform: rotate(45deg); content:”; background: #6c2eb9;}.divi-demo-link{border-bottom: 4px solid #00d5b5; margin-top: 15px; border-radius: 4px; transition: all.5s ease-in-out; display: block; width: 100%; padding: 10px 0; text-transform: uppercase; font-weight: bold; text-align: center; color: #1C695D; background-color: #00efcb;}.divi-demo-link:hover{text-decoration: none; background-color: #2CFFDF;}.divi-download-link{text-align: center; font-size: 18px; border-radius: 4px; padding: 20px; color: #fff; display: block; margin: 10px 0 10px; background-color: #7e3bd0; transition: background .5s; text-decoration: none; font-weight: bold;}.divi-download-link:hover{background-color: #C04BDE; text-decoration: none;}hr{border-style: solid; margin: 0 0 40px 0; border: 1px solid #EAEBEB;}

The post How to Create a Responsive Image Grid with the Divi Page Builder and the Call to Action Module appeared first on Elegant Themes Blog.

View @ ElegantThemes

Leave a Reply