Skip to main content
All CollectionsTroubleshooting and FAQsFrequently Asked QuestionsBlog Module
How to Reposition the Category on Top of the Post's Featured Image in the Blog Module
How to Reposition the Category on Top of the Post's Featured Image in the Blog Module

Display the post's category link on top of the Featured Image, using the Blog module in Grid layout.

Updated over 6 months ago

The post's category will be displayed in the post's meta text below the Featured Images.

With the following customization, the category link will be removed from the post's meta text and displayed on top of the post's Featured Image.

  1. Open the Blog module settings

  2. Go to Content Tab → Elements and ensure the following are enabled:

    1. Show Author

    2. Show Date

    3. Show Categories

  3. Go to Design Tab → Layout

  4. Choose Grid

  5. Go to the Advanced tab → Custom CSS → Free-Form CSS

  6. Copy and Paste the following CSS snippet:

    selector .et_pb_blog_grid .et_pb_post {
    position: relative;
    }

    selector .et_pb_blog_grid .et_pb_post .post-meta a:nth-child(3) {
    position: absolute;
    top: 0;
    left: 0;
    margin-bottom: 0;
    background: #0071fc;
    padding: 6px 12px;
    margin: 15px;
    border-radius: 50px;
    }

Notes:

The customization above will place the category over the featured image, as shown below:

Reposition the Category on top of the Featured Image in the Blog Module
Did this answer your question?