Hi there. I’m using the Ethos stack and ONLY want to display the date in the post meta beneath the post title, on posts and category/archive pages. I’m stumped and would appreciate your help. Thanks.
Hey @Grumpy,
I believe you already know that there’s no option to achieve that so this would require custom development. The simplest way is hide the post meta that you described.
Before I provide the override CSS code, please understand that any custom coding is under custom development and that is outside the scope of our product support. If you need more or have issues with custom codes, you need to Learn CSS yourself and also learn how to use a browser’s element inspector.
Please add the following code in Theme Options > CSS.
.x-ethos .p-meta span:first-child,
.x-ethos .p-meta span:nth-child(2):after,
.x-ethos .p-meta span:last-child {
display: none;
}
The code should work provided it’s copied completely. If that doesn’t work on your end, that means there’s an error with other custom codes you’ve added in your site. For that case, please consult with a 3rd party developer.
Also, we’re creating a Layout Builder now to allow the users to build custom archive and single pages. That means you won’t need custom CSS in the future.
Hope that helps and thank you for understanding.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.