בעיה בכותרת הקטגוריות מאז העדכון

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

אני חושב שאחרי עדכון, ה-CSS המותאם אישית שלך הוסר.

כדי להסיר את הבלוק הזה, אם אתה מנהל, הסר את תמונת הלוגו של הקטגוריה והבאנר ייעלם גם כן.

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

תודה על המשוב שלך.
ואכן, אתה צודק כאשר אני מסיר את הלוגו של הקטגוריה, אין לי יותר את הלוגו והתיאור.
אבל אני רוצה לשמור את הלוגו של הקטגוריה שלי בדף הראשי ולא לקבל יותר את הלוגו והתיאור כשאני נכנס לקטגוריה.
הפקודה .category-heading { display: none; } עדיין קיימת אך אין לה שום השפעה על הנושא שלי.

לייק 1

ייתכן שהספציפיות השתנתה, האם תוכל לבדוק זאת ב-inspector?
אם אינך יודע כיצד, נסה לשנות את ה-css שלך ל:

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

ולראות אם זה פותר את הבעיה.

2 לייקים

Great, that works
thanks :+1:

לייק 1

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