Deleting date and slash in blog post

Hi. I am using the Maren skin in The Grid and want to get rid of the date in the blog posts. I tried this Global CSS code…
.maren .tg-item-date {display: none !important;}
…and it got rid of the date, but left behind the slash (/). What code to I need to get rid of the date AND slash, so that only the caterories remain?

Without CSS code:

Without date, but slash remains:

Hi There,

Thanks for writing in! Please provide us with the URL to your site, so that we can assist you with a possible workaround.

Thanks!

The URL for the page in development is www.cgtv.us/podcasts

Hi There,

You can add the following CSS rules into your Customizer, Custom > Edit Global CSS area.

.page-id-1641 .tg-cats-holder::before {
    display: none !important;
}

Hope that helps.

Perfect! Thanks. BTW, how can I find out the page-id or menu-item of a page or menu I’m working on? Thanks.

Hi There,

Page IDs and Post IDs can be identified using the similar way that we have mentioned here (https://theme.co/apex/forum/t/setup-how-to-locate-post-ids/59).

To identify menu IDs, right click on the web page and select inspect element and then you can inspect any element on your page which you can then see the underlying code.

Thanks!

Hi

I’m using this code to hiude my post date:

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

However, i still get the slash forward after the author name. How can I hide it?

My site: https://mashumashu.com

Thanks!

Hello @MashuMashu,

You can add following CSS to hide the separator:

.p-meta>span:after {display: none;}

Thanks.

Perfect!!! Thank you very much!

B

You’re welcome! :slight_smile:

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.