The Ultimate Divi Bundle - 5 Divi plugins. 1 great price.

Learn More

There is a minor bug in the Divi Theme which can occur when you use team member modules within a specialty section. The Divi theme incorrectly applies a 350px margin to the team member descriptions, meaning that the team member descriptions appear under the wrong people (the name of the first team member appears under the image of the second, etc.

If you create a normal section such as a (3/4, 1/4) section, Divi will add the margin so that in the 3/4 column the team member description is pushed out from under the team member image to site to the right of the image. On a (1/4, 1/4, 1/4, 1/4) section the margin isn’t added. However, if you have, say, a (1/4, 1/4, 1/4, 1/4) embedded in a (3/4, 1/4) specialty section, the margin meant for the (3/4, 1/4) will be applied to the team member description inside the (1/4, 1/4, 1/4, 1/4). End result, margin is being applied to elements it shouldn’t be.

We can fix this issue by overriding the incorrect CSS rule and replacing it with the correct one, like so:

.et_pb_column_4_4 .et_pb_team_member_description, 
.et_pb_column_3_4 .et_pb_team_member_description, 
.et_pb_column_2_3 .et_pb_team_member_description {
	margin-left: 0px;
}
.et_pb_column_4_4 > .et_pb_team_member_description, 
.et_pb_column_3_4 > .et_pb_team_member_description, 
.et_pb_column_2_3 > .et_pb_team_member_description {
	margin-left: 350px;
}