Date in Classic Recent Posts

Hi!
I am currently using the “Classic Recent Posts” element in TWO spots on this page: https://www.newmoonstrategy.com/x-home-page-revised/

It is in the “Our Work” section - pulling in the portfolio, as well as the “The Launchpad Blog” section, pulling in our blogs.

I added this code to my CSS to hide the date:
.x-recent-posts-date {
display: none !important;
}

HOWEVER, I would like to know if there is a way to hide the date ONLY for the portfolio recent posts, but keep the date for the blog recent posts?

Thank you!

Hi Kate,

Thank you for reaching out to us. Yes you can do it by targeting only the portfolio recent posts with a selector .type-x-portfolio e.g your code will be replaced with the following:

.x-recent-posts .type-x-portfolio .x-recent-posts-date {
    display: none;
}

Here are some related links for further reading, this could help you in finding and implementing some CSS fixes:

Please note that the code provided above serves as a guide only and is to help you in getting started so implementing it and maintaining the code will be out of our support scope and for further maintenance for new possible versions of the theme that may cause the customization to break, you will need to hire a developer.

Hope this helps!

Great that did the trick, thank you!!

You’re most welcome, Kate.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.