Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1017663
    lisacole1
    Participant

    Hi
    On http://racheltildawolf.com/welcome/

    I’m trying to get rid of the date on that post.

    I’ve tried this code but it’s not working – any ideas appreciated.

    
    /*remove meta from one post */
    
    .postid-1 .p-meta {
         display:none !important;
    }
    #1017670
    Rupok
    Member

    Hi there,

    Thanks for writing in! Your code should work although it will remove entire meta information.

    To remove the date only, you can add this under Custom > CSS in the Customizer.

    .postid-1 .p-meta span:nth-child(2) {
      display: none;
    }

    Hope this helps.

    Cheers!

    #1019550
    lisacole1
    Participant

    Thank you, I’m happy to remove all of it but it’s still there using my code or your code.
    http://racheltildawolf.com/welcome/

    #1019562
    Darshana
    Moderator

    Hi there,

    The code above that you have used is correct.

    
    .post-1 .p-meta {
        display: none;
    }
    

    This code doesn’t work because you have CSS errors in your custom CSS area. Locate the following code in your Customizer, Custom > CSS.

    .h-comments-title {

    Then add the ending curly brace at the end of that CSS rule. CSS won’t parse when you have such issues.

    Hope that’s clear.

    #1023835
    lisacole1
    Participant

    aha, you are brilliant!
    And I noticed that the code has useful colours so I can see if I’ve missed off an end bracket!

    Huge thanks!

    #1024073
    Darshana
    Moderator

    Glad we were able to help 🙂

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