Tagged: post dates
HI there,
I’m trying to hide the date on posts from a specific category – category ID=32. I’ve tried the following code which I found in another thread but it’s not working for some reason. Could you please let me know where I’m going wrong? Thanks
.category-id-32 .date-container, .category-id-32 .updated, .category-id-32 .text-sep-date {
display: none !important;
}
Hey,
Can you please post a link to your page and point out the changes you would like to make so we can provide you an accurate solution? :)
Best regards,
Yigit
Thanks Yigit, page is below but let me know if you need a login to the site. Category ID is 32
Hi,
Thanks for sending that info over. Perhaps try the following instead:
.page-id-3548 .slide-meta{
display: none !important;
}
Best regards,
Jordan Shannon
Thanks Jordan
That seems to have done the trick, but the date is still appearing on the individual posts in that category. So it;s fixed in one place but not in the other.
Hi dcashion,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
.category-case-studies .date-container, .category-case-studies .text-sep-date {
display: none;
}
If you need further assistance please let us know.
Best regards,
Victoria
Hi Victoria, thanks for this. Now it’s taken the date out of the single blog post but the date is still appearing on the case study page, which has all the posts. Any way to take dates out of both single posts and case study page? Thanks
Hi,
Thanks for the feedback. Please try this CSS as well:
.page-id-3548 .slide-meta-time {
display:none !important;
}
Best regards,
Rikard
Thanks Rikard, all working fine now. /D
Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)
Best regards,
Basilis