Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #135439

    KatyH888
    Participant

    Hi,

    I would like to remove the date from all of my posts. I’m using the child theme RENEW. I don’t know how to get into the php files and would if possible much prefer to add this as a CSS. Is there such a way? Or would I have to alter the php files and if so how?

    Many thanks for any replies!

    Kate

    #135593

    Darshana
    Moderator

    Hi there,

    Use the following CSS workaround, place it into your Customizer, Custom > CSS section using the menu Appearance -> Customize.

    
    .blog .entry-header .p-meta > span:nth-child(1), .single .entry-header .p-meta > span:nth-child(1) {
        display: none;
    }
    
    .blog .entry-header .p-meta > span:nth-child(2), .single .entry-header .p-meta > span:nth-child(2) {
        display: none;
    }
    

    Hope that helps.

    #136466

    KatyH888
    Participant

    Thanks very much for the reply. Unfortunately it didn’t seem to work, I’m not sure why, maybe I’ve done something? I pasted it into the CSS part of the customise section.

    Thanks again.

    #136575

    Kosher K
    Member

    Hi Kate,

    Can you please try adding this CSS code below instead?

    .p-meta span:first-of-type, .p-meta span:nth-of-type(2) {
    display: none;
    }

    If that doesn’t work, would you mind providing url of your site for us to check,

    Thank you

    #141798

    KatyH888
    Participant

    Hi,

    I’m sorry about the delay in getting back. Many thanks again for the info. I tried the above link but that didn’t work either. My url is https://cambridgewithkids.com

    Many thanks again

    Kate

    #141852

    Darshana
    Moderator

    Hi there,

    Please add the following CSS code into your Customizer, Custom > CSS section.

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

    Hope that helps.

    #142221

    BagnatoFurniture
    Participant

    how about removing the date and category on the images in the blog slider as well as the arrows and the ‘view post’ box? http://bagnato.com

    #142460

    Paul R
    Moderator

    Hi,

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

    
    .x-post-slider .flex-direction-nav a,
    .x-post-slider .featured-view,
    .x-post-slider .featured-meta {
         display:none;
    }
    

    Thanks

    #142926

    BagnatoFurniture
    Participant

    Thanks so much..support forum here is great…many thanks!!

    #143131

    KatyH888
    Participant

    Dear Support,

    I tried the custom CSS from November 10th and that worked on my Home page which is great thanks! The date still shows in my feed in what’s on pages but this is less important.

    Thanks very much again

    Kate

    #143258

    Rubin
    Keymaster

    Hey Katy,

    Try adding:

    .p-meta { display: none; }

    Let me know if that did the trick.

    #146763

    KatyH888
    Participant

    Hi,

    Yes that did the trick, brilliant thank you!

    Kate

    #146941

    John Ezra
    Member

    Hi Kate,

    You’re welcome. Don’t hesitate to contact support anytime!

    #312920

    deniss33
    Participant
    This reply has been marked as private.
    #313040

    Prasant Rai
    Moderator

    Glad you got the solution 🙂 .