Category badge missing in mobile search results

AI-generated summary

Users report that category badges are missing in mobile search results on the Meta Branded theme (and possibly Air Theme) on mobile devices (iOS/Android, Safari/Firefox/Chrome). Moin provided repro steps and screenshots, noting the issue disappears when overriding CSS. chapoi initially thought it was fixed but later confirmed it’s theme-specific, working on Default and Horizon themes. JammyDodger and Moin clarified the issue is specific to Meta Branded, which this category is meant for. jordan.vidrine asked if the issue persists; Moin confirmed it does, with a new screenshot. JammyDodger offered simplified repro steps and noted the same issue on Air Theme, with supporting screenshot. The issue remains unresolved and appears tied to theme styling rather than core functionality.

Description

The category badges are missing in mobile search results

Repro Steps

Use mobile view: https://meta.discourse.org/?mobile_view=1
Search for a term
Notice the missing badges that appear after you disable

.search-menu .search-link .badge-category {
    display: inline-block;
}

in the browser console

Screenshots

Platform

iOS (mobile)
Android (mobile)

Browser

Safari
Firefox
Chrome

2 Likes

@jordan.vidrine / @chapoi any thoughts here? I did notice we played with styling last week.

I see them, so maybe already fixed in the meantime?

FWIW

Meta branded theme iPhone/Safari:

1 Like

Ah, seems to be theme related then. It’s fine on default and horizon for me.

1 Like

Sorry! I could have mentioned that. I assumed it’s clear because this category is for feedback about “Meta Branded”

https://meta.discourse.org/t/about-the-theme-feedback-category/284904?u=moin

Is it? TIL. I had no idea; just thought it was general site feedback.

1 Like

Is this behavior still present for you?

Yes

3 Likes

Have you managed a repro yet?

My simple step-by-step:

  • On mobile (or mobile_view), select ‘meta branded’ as the theme from the theme-switcher in the footer of the sidebar
  • Use the header search bar to search for ‘test’ and press enter
  • View the results in the dropdown

I think it’s also a problem on the Air Theme as well:

2 Likes