All Collections
FAQ's and Troubleshooting
Reposition Category Above The Featured Image In The Blog Module
Reposition Category Above The Featured Image In The Blog Module

Rearrange the category in the blog module

Marius avatar
Written by Marius
Updated over a week ago

The initial step involves removing the separators in the post-meta section, as discussed in this article.

After removing the separators, include another personalized CSS Class in your Divi Blog module. To include a personalized class, follow these steps:

  1. Open the module settings

  2. Go to the Advanced tab

  3. Open the CSS ID & Classes option

  4. In the CSS Class input field, add the class
    โ€‹divi-blog-move-category

Reposition the category above the Featured Image:

  1. In Divi > Theme Options > General Tab > Custom CSS, add this CSS code:

    .divi-blog-move-category .et_pb_blog_grid .et_pb_post .post-meta a:nth-child(3) {

    position: absolute;

    top: 0;

    left: 0;

    margin-bottom: 0;

    color: #ffffff!important;

    background: #0071fc!important;

    padding: 6px 12px;

    margin: 15px;

    border-radius: 50px;

    }

    2. Go to the Blog module > Content > Elements and make sure these elements are ENABLED:

That will place the category over the featured image:
โ€‹

Did this answer your question?