
-
AuthorPosts
-
July 2, 2016 at 5:17 pm #656128
Hello,
Is it possible to hide the dates on my posts that belong to a specific category or tag? For example, I am planning to categorize all of my evergreen posts under the “Evergreen” category.and would like the date hidden on all of those evergreen posts, since the date is not relevant to evergreen content..
Thank you.
July 2, 2016 at 9:46 pm #656161Hey ACNLatitudes!
Please provide us a link of your web site and a screenshot of what you want to hide, so we can provid eyou the code needed.
Thanks a lot
Regards,
BasilisJuly 2, 2016 at 10:33 pm #656166Thanks for the reply.
Here is a screenshot: https://snag.gy/vFescb.jpg
Here is the page that I took the screenshot from: http://latitudes.org/tennis-award-certificate-primary/
I would like to hide ” July 1, 2016 / ” from being shown on that post, which is under the category of Z-Evergreen (category id 695).
I tried using the following code based on what I had reviewed in the forums. It removed the “/” but did not remove the actual date.
.category-id-695 date-container, .text-sep-date {
display: none !important;
}Please advise.
Thanks!
July 4, 2016 at 2:37 pm #656589Hi,
Seems like you’re missing the class selector in the CSS you posted, please try this instead:
.category-id-695 .date-container, .text-sep-date { display: none !important; }
Regards,
RikardJuly 4, 2016 at 8:50 pm #656742Thanks for the reply. I tried the code that you provided, but once again it only removed the “/” from the date line, but it did not remove the actual date. Please advise.
July 4, 2016 at 8:57 pm #656745Hey!
.date-container is the Class for the date, so you have to use that one to make it work,
Let us know if you have any other question for us, we would love to assistCheers!
BasilisJuly 4, 2016 at 8:59 pm #656746Nevermind, I figured it out. I had to include .updated as well like this:
.category-id-695 .date-container, .category-id-695 .updated, .category-id-695 .text-sep-date {
display: none !important;
}July 5, 2016 at 9:15 am #656899 -
AuthorPosts
- You must be logged in to reply to this topic.