Category Image Formatting

can anyone help with a formatting question? There is a lot of white space under my category images, and I can not find a setting to adjust that. The images themselves are only as tall as the colored circles. Anyone know what to do? image: https://drive.google.com/file/d/11DNwKGoWkpP1Ymnikm3mY9STCFtF2qb6/view?usp=sharing

Welcome to Meta @Jim_Shilts1

I can’t reproduce the issue you described.

Is your site up-to-date?
Did you try safe-mode to rule out any theme/plugin CSS issues?
Can you post a link to your site so we can investigate further?

1 Like
1 Like

You’re adding category logos that already include descriptions. They force the text-based Discourse descriptions to be rendered out of view - because the category logos are so wide.

Even when they’re out of view, they will still affect the layout of their sibling elements.

Can you try adding this CSS to your theme under desktop > CSS

.category-list {
  .category-description {
    display: none;
  }
  .category-logo.aspect-image {
    margin-bottom: 0;
  }
}

like so

image

3 Likes

That worked!!! Thank you!!!

2 Likes

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