Dawn theme, How to remove excerpt on only 1 of blog pages?

hello,

Im trying to remove excerpt / default text that appears on one of the ‘blog’ pages.

heres an image to show what i want to remove:

ive tried adding this code:

.article-card__excerpt {
display: none !important;
}

But this also affects my other blog pages, i only want this change on the blog page called recipies and not the one called blog.

Any help would be much appreciated!

My store URL - www.bodileshape.com

maybe create a different blog page template for this no title and alter the title preferences for the different template and then assign blog to this blog post to the different template

1 Like

Create a different template for this blog page and then add your code in “Custom CSS” of for this template only.

But you can also use more advanced selector if you do not want to create a new template.

.card__heading:has([href*="blogs/recipies"]) ~ .article-card__excerpt {
  display: none;
}

Basically, if article card has link which points to an article in Blog recipes, then hide excerpt.

1 Like