Featured collection images underlined on mobile only

Topic summary

A user encountered a white bar appearing underneath featured collection images on mobile devices only—not visible in desktop preview mode but present when testing on an actual phone.

Proposed Solution:

  • Add custom CSS to the theme’s base.css file
  • Target mobile screens specifically (up to 767px width)
  • Use media query to remove the underline/background gradient from featured collection images

Implementation Steps:

  1. Navigate to theme editor → edit code
  2. Locate the base.css file
  3. Insert the provided CSS code at the bottom
  4. Save changes

The solution uses a mobile-specific media query to eliminate the unwanted visual element without affecting desktop display. The issue appears to be CSS-related rather than a structural problem with the images themselves.

Summarized with AI on November 11. AI used: claude-sonnet-4-5-20250929.

for some reason my images for my featured collection have this white bar underneath them on mobile only and i am not sure how to remove it. it only shows up when i test my site on my phone, not when i click the mobile response in preview.

it should look like this

thanks!

https://passagekeeper.com/

password: melon

Hello Tinypebble,

To remove the white bar underneath the images for your featured collection on mobile devices,

you can use custom CSS targeting mobile screens specifically.

Here’s how you can do it:

Go to theme editor > edit code > Find the base.css file and add the given code at the bottom

/* Target mobile screens (up to 767px width) */
@media only screen and (max-width: 767px) {
  /* Remove underline from images in the featured collection */
  .color-background-2{
     gradient-background: none;
  }
}

Save Changes.

I hope this is helpful to you,

If helpful So please accept the solution and buy me a coffee.