Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1127643
    ericandmollie
    Participant

    I am using the “Renew” stack.

    Using the advise on your forum, I have successfully removed the date from posts in my “Events” category by adding this custom code to the Customizer:

    .category-events .p-meta>span:nth-child(2) {
    display: none;
    }

    But the date still shows up on the “Latest Events” posts that are featured on my home page. How do I remove date entry meta from the Events category, site wide?

    Thank you!

    Mollie

    #1127773
    Prasant Rai
    Moderator

    Hello Mollie,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    Thanks.

    #1142066
    ericandmollie
    Participant

    Thank you! Here is my URL:

    http://www.fbcmonroe.org

    Mollie

    #1142508
    Prasant Rai
    Moderator

    Hello Erica,

    Thanks for writing in!

    You can add this under Custom > CSS in the Customizer:

    span.x-recent-posts-date {
        display: none !important;
    }

    Thanks.

    #1143742
    ericandmollie
    Participant

    Thank you!

    That works, but it removes the date for ALL recent posts on the home page including the “News” category. I was hoping to be more specific and only remove the date for the “Events” category. Is there any way to do that?

    Thanks!

    Mollie

    #1144263
    Christopher
    Moderator

    Hi there,

    Please update your code to :

    .category-events span.x-recent-posts-date {
        display: none !important;
    }

    Hope it helps.

    #1152357
    ericandmollie
    Participant

    Thank you so much! I realize now that the result I wanted required two different changes:

    1. Remove the date from all posts in the event category:

    .category-events .p-meta>span:nth-child(2) {
    display: none;
    }

    2. Remove the date from recent posts in the event category only:

    .category-events span.x-recent-posts-date {
    display: none !important;
    }

    I now have the result I want. Thanks so much for your accurate and timely support!

    Mollie

    #1152376
    Nabeel A
    Moderator

    Glad we could help.

    Cheers!

  • <script> jQuery(function($){ $("#no-reply-1127643 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>