How to add icons to the Divi blog and post meta

Apr 13, 2020 | Divi Resources

How to Add Icons to the Divi Blog and Post Meta?

In this blog post, we’ll walk you through on how to add custom icons into the post meta of the Divi Blog module and post layout. By default, there are no such things with the Divi Blog module and post layout. But using the Custom CSS provided in this post, we will add icons to the author’s name, date, and comments.

Now, let’s do the job.

Adding custom icons to the Divi blog post meta.

Adding custom icons to the Divi blog post meta
  1. Create a new post or edit an existing one.
  2. Deploy Divi Builder.
  3. Once Divi Builder has launched, go to its Page Settings.
  4. Then, go to the advanced tab, and in the Custom CSS settings, add the following custom CSS.
.author.vcard:before {
    padding-right: 5px;
    font-family: ETModules;
    content: '\e08a'; 
}
.published:before {
    padding-right: 5px;
    font-family: ETModules;
    content: '\e023';
}
.comments-number:before {
    padding-right: 5px;
    font-family: ETModules;
    content: '\77';
}

Custom CSS settings

5. Update, and preview changes.

Adding custom icons to the Divi Blog module for post meta

Adding custom icons to the Divi blog module for post meta
  1. Edit your blog page. Or create a new page if you haven’t created a blog page yet.
  2. Launch Divi Builder. (Skip this step and jump to step 6 if you have already created a blog page using the Divi blog module.)
  3. Build From Scratch.
  4. Choose, Build on the Front End.
  5. Once the page builder canvas has launched, add a new row. And then, add the Divi Blog module.
  6. Upon adding the module, go to Page Settings.
  7. Then, go to the advanced tab, and in the Custom CSS settings, add the above custom CSS.
  8. Save.
  9. You’ve successfully added the custom icons into the post meta of the Divi Blog module.

Summary

Above, we’ve shown you how you can easily add custom icons to your post meta for the Divi Blog module as well as post layout. If you want more customization for your blog module as well as post layouts, then get our premium products,

Divi Blog Extras

Divi Post Extended

Blogy – Divi Blog Layout Pack

Subscribe and Never Miss Out!

Posted By:
Ankur Khurana
Ankur enjoys anything competitive. He is passionate about learning new things and traveling to new places.

0 Comments

Submit a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments

Submit a Comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Free Prebuilt Hero Section Layouts for Divi 5

Free Prebuilt Hero Section Layouts for Divi 5

The hero section is the first thing people see when they open a website. A well-designed hero section helps visitors understand your message quickly and encourages them to scroll further. To make website building easier, we have created ready-made hero section layouts...

Free Prebuilt About Us Section Layouts for Divi 5

Free Prebuilt About Us Section Layouts for Divi 5

The about us section helps visitors understand who you are, what you do, and why they should trust your brand. A well-structured about us section builds credibility and creates a strong connection with users. To make this easier, we have created prebuilt about us...

Free Prebuilt Blog Section Layouts for Divi 5

Free Prebuilt Blog Section Layouts for Divi 5

A blog section plays a key role in showcasing your latest posts, sharing updates, and keeping visitors engaged with fresh content. A well-designed blog section improves readability, highlights important posts, and enhances the overall user experience of your website....

Divi WooCommerce Extended

Subscribe and Never Miss Out!