Probleem met categorieën header na 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

Ik denk dat na een update uw aangepaste CSS is verwijderd.

Om dat blok te verwijderen, als u beheerder bent, verwijdert u de categorie-logo-afbeelding en verdwijnt de banner ook.

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

bedankt voor je reactie.
Inderdaad, je hebt gelijk als ik het logo van de categorie verwijder, heb ik niet langer het logo en de beschrijving.
Maar ik wil mijn categorie-logo op de hoofdpagina behouden en het logo en de beschrijving niet meer hebben als ik naar de categorie ga.
de opdracht .category-heading { display: none; } is nog steeds aanwezig maar heeft geen effect op mijn thema.

1 like

Het kan zijn dat de specificiteit is gewijzigd, kun je dat controleren in de inspector?
Als je niet weet hoe, probeer dan je css te wijzigen naar:

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

En kijk of dat het oplost.

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.