Images appear as circle icons in teaser view regardless of image style settings

Created on 2 June 2025, 7 days ago

Problem/Motivation

In the olivero theme, teaser images show up as circle icons regardless of image style settings.

Steps to reproduce

Proposed resolution

Any way to override this default?

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

💬 Support request
Status

Active

Version

11.1 🔥

Component

Olivero theme

Created by

🇺🇸United States ccbelcher

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ccbelcher
  • What is a circle icon?

  • 🇮🇳India sd9121

    I have investigated the issue and confirmed that in teaser view, the uploaded images are displaying as circular icons, regardless of the image style settings. This is due to the following CSS rule in the Olivero theme's teaser.css file:

    .teaser__image img {
      width: var(--sp3-5);
      height: var(--sp3-5);
      object-fit: cover;
      border-radius: 50%;
    }

    This rule forces the images into a circular shape by setting both the width and height to var(--sp3-5) and applying a border-radius of 50%. These styles override the configured image styles for teaser view.

  • I looked into the history of that theme's development and concluded that the rounded image is an intentional design choice.

  • 🇺🇸United States ccbelcher

    Ha! That is a very distinct look that is not appropriate for anything much beyond user profiles in my opinion. I strongly suggest reconsidering the decision.

    Thank you for researching the issue.

    It appears at present I have two options:

    1. Create a new display mode for the content type, bypassing the teaser, or
    2. Commenting out that part of the css.

    Any guidance on what the best practice might be?

    Thanks again.
    -Chris

  • 🇺🇸United States ccbelcher

    Creating a new display mode seems the easiest workaround.

    Cheers,
    -Chris

Production build 0.71.5 2024