Problem with categories header since update

Hello,
I wish to remove the block for the description and logo of the categories
I had solved it with the command to remove it
.category-heading { display: none; }
but since the update, the block has returned

Do you know how to solve this problem to remove it again?

Thank you

1 Like

I think after an update, your custom CSS is removed.

To remove that block, if you are an admin, remove the category logo image and the banner will disappear too.

Mine has a slightly different issue: On the home page.

And once I am on the category page:

Yes, there’s been a recent change to these:

There’s nothing to it, but fiddling around with custom css to make it work again with your specific image. (Or better yet, provide an image with a 1:1 ratio.)

Example with:

.category-heading__logo.category-logo.aspect-image {
  width: auto;
  height: 100px; 
}

Might need some tweaks for mobile vs desktop.

1 Like

Thank you for your feedback. Indeed, you are right when I delete the category logo, I no longer have the logo and description. But I want to keep my category logo on the main page and no longer have the logo and description when I go into the category. The command .category-heading { display: none; } is still present but has no effect on my theme.

1 Like

It could be that the specificity has changed, can you check in the inspector?
If you don’t know how, try changing your css to:

.category-heading.--has-logo { display: none; }

And see if that fixes it.

2 Likes

Great, that works
thanks :+1:

1 Like

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