Pricing Process Reviews Contact

Divi Guy blog

How to move the Divi blog module items with custom ordering using CSS.

Steps to move the Divi blog module items with custom ordering using CSS.

Step 1: Add the class customBlogOrder to your blog module.

Step 2: Update the 4 “order” values in the CSS to your preferred order.

Step 3: Add the custom CSS to the Divi theme options / Custom CSS area.

/* moving info on blog module BEGIN */

/*make the parts of the blog post flexible*/

.customBlogOrder .et_pb_post {

	display: flex;

	flex-direction: column;

}

/*blog post featured image*/

.customBlogOrder .et_pb_post .et_pb_image_container, .customBlogOrder .et_pb_post .entry-featured-image-url {

	order: 1;

}

/*blog post title*/

.customBlogOrder .et_pb_post .entry-title {

	order: 3;

}

/*blog post meta*/

.customBlogOrder .et_pb_post .post-meta {

	order: 2;

}

/*blog post excerpt and button*/

.customBlogOrder .et_pb_post .post-content {

	order: 4;

}

/*remove negative margin on blog image*/

.customBlogOrder .et_pb_blog_grid .et_pb_image_container {

	margin: 0!important;

}

/*adjust margin below blog post featured image*/

.customBlogOrder .et_pb_post .entry-featured-image-url {

	margin-bottom: 10px;

}

/* moving info on blog module END */

Need a hand?

Need help with your Divi website?

Book a Divi consultation and we can fix it together over Zoom, or ask for an estimate for bigger jobs.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Search

Browse

More tips

Got a question?

Ask me anything

Stuck on something in Divi or WordPress? Ask away and I will reply by email, usually within 24 hours.

Ask a Question

Tell me about your project. The more details the better.

"*" indicates required fields

Make a payment

Got an invoice?

Pay an invoice, a deposit or a tip in about a minute. Card or PayPal, secure checkout, and I never see your card number.

Make a payment