How To Create A Responsive Divi Timeline Module – Divi Tutorial

Divi timeline module is one of the perfect front-end design you should be using if you want to highlight a certain process. In this blog, I will breakdown how you can manipulate your Divi timeline template using a custom CSS grid.

 

1. Declare a CSS Class On Your Divi Column Module

The column holds your text modules so we need to attach the custom CSS class to tweak the standard design in Divi. For this example, I prefer to name it grid-process.

Why I am using 1 column instead of 2?
If we use 2 columns, we can’t manipulate the text modules position. Basically, if you want to have full access to the positions of your text modules, they should be only sitting on 1 container. 

steps to create divi timeline template

2. Determine the position of Divi timeline text modules

These text modules are categorized into 3 sections namely v-line, right-align and left-align. Label as Line should have a class of v-line while Left should be left-align and obviously Right should be right-align. 

placement of the text module to create divi timeline module

Let’s use the Left: 1. Initial Consult Label as an example. If you check the screenshot below, I have labeled the class to left-align because the Label is left.

Also, don’t forget to add the pagination class. Since this is number one, I added a class name called p-one. Kindly follow the process on the rest text modules.

Don’t have time to follow the steps above? Hire me for only $25 one-time setup, just leave me a message on Facebook

divi timeline template tutorial

 
[ads]

Now, go back to content tab and type the following html code below under text tab. You can rename the class to stepwhite if you want to change the color into white instead of navy blue.

how to create right to left icon for divi timeline module

We’re almost finished! For the Line label, you can keep the CSS Class empty but make sure you put the empty div class just like below.

Feel free to change the color of your vertical line by changing the hex color under background e.g <div class=”v-line” style=”background:red;”></div>

html code to create vertical line at the middule of the divi timeline module

 

It’s time to style your Divi timeline template! Go to WordPress dashboard > Divi > Theme Options > Custom CSS

/*process */
span.stepnavy, span.stepwhite{
float:left;
border-radius: 50%;
-moz-border-radius: 50%;
-webkit-border-radius: 50%;
box-shadow: 2px 10px 3px rgba(0,0,0,0.15);
font-weight: bold;
line-height: 2.6em;
margin-right: 5px;
text-align: center;
width: 2.6em;
}span.stepwhite {
background: #fff;
color: #2C3A5A;
}span.stepnavy {
background: #2C3A5A;
color: #fff;
}@media (min-width:768px) {
.grid-process .et_pb_column {
display:grid;
grid-template-columns: 49% 2% 49%;
grid-template-areas:
‘two v-line one’
‘three v-line four’
‘five v-line six’;}.v-line {
grid-area: v-line;
height:300px;
width:2px;
margin: 0 auto;
}.p-one {grid-area: one;}
.p-two {grid-area: two;}
.p-three {grid-area: three;}
.p-four {grid-area: four;}
.p-five {grid-area: five;}
.p-six {grid-area: six;}.right-align span.stepnavy,
.right-align span.stepwhite {
float:right;
margin-left:2rem;
margin-right:-2rem;
}.right-align h3, .right-align p {
text-align:right;
}.right-align p {
margin-right:2rem;
}.left-align span.stepnavy,
.left-align span.stepwhite{
margin-left:-2rem;
margin-right:2rem;
}.left-align p {
margin-left:3rem;
}}

Here’s the preview. This can be tweak according to your liking. Just edit the position of your grid areas for more flexible look.

Don’t have time to follow the steps above? Hire me for only $25 one-time setup, just leave me a message on Facebook

divi timeline module

5 Proven Ways To Fix Saving Issue in Divi And Other Elegant Themes

For the past years, saving issue in Divi and other Elegant Themes like Extra is a common issue of a website owner. In this blog, I’m going to guide you the possible causes of saving issue in Divi.

A. If Saving Issue In Divi Happens In All Pages

 

A1. Check If Divi Theme Is Outdated

Make sure you always update your Divi to avoid conflicts. Try also deactivating the child-theme, if that triggering the problem then there are bad codes live in your file.

make sure to keep your Divi theme updated to avoid saving issue

A2. Mixed Content Warnings or AJAX Error

Inspect the elements if there’s any warnings or errors. The common problem I am seeing is Mixed content warning and AJAX error.

  • Mixed Content Warnings

install simple ssl plugin to fix the mixed content warnings

Normally, this occurs once you convert your site to secure https. In this case, you need to force all the non-https links to convert to https. The easy way to do that is to install a simple SSL plugin. Just go to WordPress plugin repository or go to WordPress dashboard > Plugins > search the plugin Really Simple SSL > Install > Activate.

  •  AJAX Issue Error

how to fix ajax error in divi

Ajax is one of the major components to make Divi Builder work and this is a server-side issue.  This problem is kinda tricky, sometimes it gives you problems on general pages or on a specific page. You can also experience unstable functionality like “saving issue” works just fine yesterday but it suddenly stops working now.  In this case, you need to make sure that the mod_security is not blocked on your server so contact your hosting provider for more assistance.

A3. Unknown Errors Due To Outdated WordPress Version

If you see any weird errors in the console after updating the parent Divi theme then probably the cause is not the Divi itself but the conflicts between your WordPress core. The fastest solution is to go to General > Updates.

update the wordpress core to fix the saving issue

Sometimes that process doesn’t work which ends you re-updating your WordPress manually.

How To Do This?  Go too WordPress.Org then download the recent version of WP.

  1. Unzip your WordPress files
  2. IMPORTANT! Delete the wp-content
  3. Upload all the files in FTP to overwrite your WordPress files.

Note: It’s very important not to SKIP step 2 because those files hold your themes. You should delete the wp-content folder before overwriting the files via FTP.

A4: Clear You Cache Then Refresh Your Permalinks

In most cases, this works! Go to WordPress dashboard > Theme Options > Builder > Advanced > Clear Your Cache. If you’re using a plugin then you will need to clear it as well.

Lastly, refresh your permalinks by going to Settings >Pemalinks > Plain > Save Changes button. After 30 seconds, move it back to the Post Name

A5: Check Your Hosting If the PHP Version is Outdated

Divi teams area really good in updating their products and using an old version of PHP might interfere with the performance of your Divi Builder so make sure it is currently running at least 7.0 upper. You can talk to your hosting provider to make an update for you

A6: Doesn’t Have Enough PHP Directive Values

To maximize the value, open your wp-config.php via FTP (Please be careful since this holds your database). Add the following codes below where most @init_set syntax sit. If you’re scared with coding stuff then use Increase Maximum Upload File Size plugin

@ini_set( ‘upload_max_size’ , ‘300M’ );
@ini_set( ‘post_max_size’, ‘300M’);
@ini_set( ‘memory_limit’, ‘600M’ );

B. If the Saving Issue in Divi Happens on Specific Page or Post

This problem might be due to custom CSS or Jquery you added in your post. There are two ways to check it:

check if theres bad css custom in page css module to fix the saving issue in divi

  • Check the Global CSS and jQuery under Divi Theme Options
  • Check the custom CSS in your parent module
  • Look on your individual modules if there’s any bad CSS code or jQuery code.

 

How To Create A Divi Blog Grid Layout That Has Overflow Featured Image

Recently, I saw a question on the Facebook group on how to style their Divi blog grid layout into a unique way. In this vtutorial, I’m going to give you the step by step tutorial on how to revamp your Divi blog module.

1. Add A Class On Your Divi Blog Module

The first step is to add a class name to your blog module so we can style your Divi blog grid layout.

On my case, I used overflow-blog as class name, you can use any name you want.  This can be done by using a Divi blog module, click the Advanced tab then CSS Class.

divi blog grid layout

2. Style Your Divi blog grid layout Using Custom CSS

In order to overwrite the default styles, we need to declare group of css syntax. Simply go to WordPress dashboard > Divi > Theme Options > Custom CSS. If you’re using a Divi child theme, you can also insert the code below in style.css

.overflow-blog .et_pb_post {
position:relative;
border:none;
padding-bottom:30%;
}

.overflow-blog .et_pb_post h2.entry-title {
margin-top:-25%;
min-height:100px;
}

.overflow-blog .et_pb_post h2.entry-title {
padding: 10% 4% 2% 4%;
margin-bottom:20vh;
z-index:9;
}

.overflow-blog .et_pb_post .post-meta,
.overflow-blog .et_pb_post .post-content {
padding: 5% 4% 10% 4%;
z-index:8;
}

.overflow-blog .et_pb_post h2.entry-title,
.overflow-blog .et_pb_post .post-meta,
.overflow-blog .et_pb_post .post-content {
position: absolute;
background: #fff;
width: 88%;

}

.et_pb_column.et_pb_column_empty .overflow-blog{
min-height:0;
}

.overflow-blog .et_pb_post h2.entry-title,
.overflow-blog .et_pb_post .post-meta,
.overflow-blog .et_pb_post .post-content {
border-right: 1px solid #026AC1;
border-left: 1px solid #026AC1;
}

.overflow-blog .et_pb_post h2.entry-title {
border-top: 1px solid #026AC1
}

.overflow-blog .et_pb_post .post-content{
border-bottom: 1px solid #026AC1;
}

.overflow-blog .et_pb_post .post-meta,
.overflow-blog .et_pb_post .post-content {
margin: 0;
}

.overflow-blog .et_pb_post a.more-link {
color: #fff;
background: #026AC1;
padding: 5px;
margin: 10% 0;
text-transform: uppercase;

}

Basically, the css code push the post container to overflow the featured image. You can download the .json file here and check the demo  This will work on all themes as long as you are using Divi Builder.

By the way, I have also other Divi blog layout that is perfect for heavy content blogs. Feel free to check, you might like it. 🙂

best divi blog layout swapping buttons interactive blog 1

How To Make Your Google Adsense Responsive In WordPress

Recently, I had an issue with google Adsense on how to make it responsive in all devices. Since I am starting to earn money on Adsense, I don’t want to remove it so dig in and luckily found the documentation from Google Adsense resource.

This tutorial basically cover how I interprent the tutorial provided by Google Adsense. I believed it will work on all ad units including display ads, in feed ads, in-article ads and even in link ads. 

Step 1: Insert a Custom class on your adsense script

Insert a custom class after the adsbygoogle class so we can overwrite the style of our ads. Kindly check the before and after below to see the difference.

BEFORE:


< ins class="adsbygoogle" style="display:block" data-ad-format="fluid" data-ad-layout-key="-6t+ed+2i-1n-4w" data-ad-client="ca-pub-4299086769596754" data-ad-slot="6478502035">

AFTER:

< script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js">
< ins class="adsbygoogle responsive-adbanner" style="display:block" data-ad-format="fluid" data-ad-layout-key="-6t+ed+2i-1n-4w" data-ad-client="ca-pub-4299086769596754" data-full-width-responsive="true" data-ad-slot="6478502035">

< script>
(adsbygoogle = window.adsbygoogle || []).push({});

Now, copy/paste the code on theme options or style.css. Basically, this code will tell the browser to adjust the width of the adsense once it reach the declared viewport. The other css code generally normalize the styling and removing any scrolling styles on your adsense.

@media(max-width:23.436em){
.adsbygoogle.responsive-adbanner {
width:22em;
}}
@media(max-width:64.436em){
.adsbygoogle.responsive-adbanner {
width:63em;
}}
.adsbygoogle.responsive-adbanner {
width:95%;
overflow: hidden;
padding:0;
margin: 2rem 0;
}

If you don’t want to use custom css, adding a inline-style on the script will work but for best practices, it’s highly recommended to keep your code DRY (Don’t Repeat Yourself).

How To Animate Your Menu Button on Divi or Extra – Bouncing Menu Tutorial

Normally, The animation feature from Elegant Themes only works for individual pages and posts when a visual or Divi builder is enabled and dynamic elements like footer, menu don’t have this feature.  On my v-tutorial, I am going to add a bouncing animation on our custom button located on menu (by the way, I’m using Extra theme).

Why You Should Consider Adding Animation On your Divi Menu?

Adding an animation on your CTA like button is a very interesting strategy to improve your user experience (UX).

Back to the scenario, make sure you define a custom css where you want to hook the animation. On my example, my class name for this is .acuity-embed-button.

Copy/Paste the code below on Extra or Divi > Theme Options > Custom CSS. You can use an animation generator like Animista.io but make to keep it dry as possible, remove those redundant codes that can hurt your CPU.

.acuity-embed-button { // Kindly rename the class accordingly. 
animation: bouncing 0.5s both;
}@keyframes bouncing {
0% {
transform: translatey(-45px);
-webkit-transform: translatey(-45px);
-webkit-animation-timing-function:ease-in;
animation-timing-function:ease-in;
opacity:1;
}82%{
-webkit-transform: translatey(-6px);
transform: translatey(-6px);
}90%{
-webkit-transform: translatey(-4px);
transform: translatey(-4px);
-webkit-animation-timing-function:ease-out;
animation-timing-function:ease-out;
}25%, 75%, 88%, 100%{
-webkit-transform: translatey(-0px);
transform: translatey(0px);}}

Why -moz, -ms, -o and -webkit are important?

Prefixes are significance for compatibility purposes. Some search engines like IE, Opera, and Firefox cannot run your CSS if their perspective prefixes are not declared on your code.

 

How To Download Divi And Other Themes On Elegant Themes Member Area

In this blog, I will walk you through how you can download any elegant themes products including themes, plugins and templates.

 

 

Downloading Elegant Themes & Plugins

Before, we get started. Below are the list of WordPress themes and plugins you can use.

WordPress Plugins

  • Divi Builder – can be used if you don’t want to use Extra or Divi. This plugin is no longer needed if you’re already using Divi/Extra themes as they have built-in Divi builder.
  • Bloom – Perfect for email opt-in pop-up, exit pops and such.
  • Monarch – Integrate a social sharing to your WordPress website
    See more >

WordPress Themes

To see the other themes, kindly go here. Just click the preview to see the demo.

 

WordPress Plugins

Now, let’s proceed! To download ET themes, kindly go sign in to  the member’s area. If you’re not sure what’s your username, you can find it here

elegant themes member area

2. Go to downloads tab > scroll down the page > click the view all downloads pink button

how to download divi themes

3. Press ctrl + f for Windows or cmd+f for Mac > find the theme e.g Nexus and click the Download icon

list of elegant themes

 

To load premade template from Divi, create or open an existing post/page > enable the Divi Builder > click the + icon

premade layout

Click the Premade Layouts tab > Choose any of your layout. You can also use the “Search” box. 

how to load premade layout