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

Rearrange the published date 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-date

Reposition the published date above the Featured Image:

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

    .divi-blog-move-date .et_pb_blog_grid .et_pb_post .post-meta span.published {

    position: absolute;

    top: 0;

    left: 0;

    margin-bottom: 0;

    color: #ffffff!important;

    background: lightgreen!important;

    padding: 5px 10px;

    margin: 10px;

    border-radius: 30px;

    }


    That will place the published date over the featured image:


    ​


    ​
    ​

Did this answer your question?