How to remove blog post dates in Studio Theme?

Solved

How to remove blog post dates in Studio Theme?

LouiseO
Tourist
4 0 1

Hi there

I'd like to remove the blog post dates from all my blog posts please (and future posts). Could you let me know what code to use and where to insert it please?

Thank you!

Accepted Solution (1)

GabrielS
Shopify Partner
486 107 117

This is an accepted solution.

Hi,

 

The code provided by @suracethapa is correct, however, if you want to remove the dates from both the blog listing and the blog post itself, consider using the below:

.blog-articles .article-card__info.caption-with-letter-spacing, span.circle-divider.caption-with-letter-spacing {
    display: none !important;
}

Sure, the code could be rewritten more beautifully. Adding the above code at the end of your base.css file should work as expected.

 

 

Cheers!

Gabriel Soare | Web Developer
Are you looking to customize your Shopify or to fix a website bug?
You can reach me through my website gabrielsoare.com, DM, or email hello@gabrielsoare.com.
Have I helped you? Like my post.

View solution in original post

Replies 4 (4)

JustinTharpe
Shopify Partner
142 5 17

Hi @LouiseO 

 

Please share your store website. And the page where I can see that date being displayed.

Please Like and Accept Solution if Useful.
The two picks of this month: Shipping Address Editor and Product Customizer
Shopify Community Helper

suracethapa
Shopify Partner
10 2 4

Hi @LouiseO ,

Easiest way is to hide using CSS. 

.blog-articles .article-card__info.caption-with-letter-spacing {
    display: none;
}

Thank you

GabrielS
Shopify Partner
486 107 117

This is an accepted solution.

Hi,

 

The code provided by @suracethapa is correct, however, if you want to remove the dates from both the blog listing and the blog post itself, consider using the below:

.blog-articles .article-card__info.caption-with-letter-spacing, span.circle-divider.caption-with-letter-spacing {
    display: none !important;
}

Sure, the code could be rewritten more beautifully. Adding the above code at the end of your base.css file should work as expected.

 

 

Cheers!

Gabriel Soare | Web Developer
Are you looking to customize your Shopify or to fix a website bug?
You can reach me through my website gabrielsoare.com, DM, or email hello@gabrielsoare.com.
Have I helped you? Like my post.
LouiseO
Tourist
4 0 1

thank you! 🙂