Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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.

    #656161

    Hey 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,
    Basilis

    #656166

    Thanks 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!

    #656589

    Hi,

    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,
    Rikard

    #656742

    Thanks 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.

    #656745

    Hey!

    .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 assist

    Cheers!
    Basilis

    #656746

    Nevermind, 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;
    }

    #656899

    Hi,

    Great, glad you got it working and thanks for sharing your solution :-)

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.