Gilles is trying to remove the category description and logo block from category pages while keeping the logo on the home page. After a recent update, the CSS command .category-heading { display: none; } stopped working. chapoi suggests removing the category logo to hide the banner, but Gilles wants to keep the logo on the home page. chapoi explains recent changes and suggests custom CSS tweaks. chapoi provides a more specific CSS solution .category-heading.--has-logo { display: none; }, which gilles confirms works.
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
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.)
תודה על המשוב שלך.
ואכן, אתה צודק כאשר אני מסיר את הלוגו של הקטגוריה, אין לי יותר את הלוגו והתיאור.
אבל אני רוצה לשמור את הלוגו של הקטגוריה שלי בדף הראשי ולא לקבל יותר את הלוגו והתיאור כשאני נכנס לקטגוריה.
הפקודה .category-heading { display: none; } עדיין קיימת אך אין לה שום השפעה על הנושא שלי.