Okay
  Public Ticket #205069
Remove date from blogs
Closed

Comments

  • Jan started the conversation

    Hi Tahir,

    I would like to remove the line: By {contributor} | {date} | {category} | {# of responses} from the blog posts in my new Salient site.

    I've seen other topics where you give the option to add custom CSS code to the settings, but the ones you gave (article.post .post-meta { display: none; } among others) all don't seem to work...

  •  8,470
    Tahir replied

    Hey Jan!

    Add this into the Custom CSS box located in your Salient Options panel :

    .meta-author, .meta-category, .meta-comment-count {display:none !important;}

    Cheers


    ThemeNectar Support Team 

  • Jan replied

    Fantastic Tahir!

    That worked perfectly. I decided to remove date and comment count, but keep contributor and category. I did the same on the blog masonry page with the code you provided earlier to another user (article.post div.post-meta.no-img {display: none;}). This gets rid of the comment count in the masonry blog page. But now I still have a date at the bottom of each blog entry in the masonry layout. Could you provide some code to get rid of that as well? And ideally also a possibility to enter some other text at that location?

    Thanks,

    Jan

  •  8,470
    Tahir replied

    Hey Jan!

    Can you provide page link of the page that is still showing the date. To change the text you will likely have to make changes to the code and is not recommended as updating the theme would cause the changes to be lost and added again. 

    Thanks


    ThemeNectar Support Team 

  • Jan replied

    Hi Tahir,

    You can find the page @ http://theater.naatpiek.nl/wordpress/?page_id=7

    Just removing the date from each entry would be fine as well.

  •  8,470
    Tahir replied

    Add this into the Custom CSS box located in your Salient Options panel Or on the Visual Composer Css button so the css shows on that page only:

    body article.post .post-meta .date {
        display: none;
    }
    

    Cheers


    ThemeNectar Support Team 

  • Jan replied

    Hey Tahir,

    Another great CSS solution. Thanks for your very prompt and knowledgeable responses. This great support makes Salient a joy to work with.

    Jan