need code for collection

Topic summary

A user is trying to remove a white banner that appears on their Shopify store’s homepage, specifically in the “featured collection” section where scrolling items are displayed. They previously removed a “50% off” banner from product pages using CSS but now face a similar issue with collections.

Current Status:

  • The banner does not appear on regular collection pages
  • It only shows up in the featured collection section on the homepage
  • Multiple helpers initially couldn’t see the issue until the user published the featured collection

Solution Provided:
A helper offered CSS code to be added to the theme.liquid file:

  1. Navigate to Online Store → Edit Code
  2. Locate the theme.liquid file
  3. Insert the provided CSS code snippet above the </body> tag

The discussion includes screenshots showing the problematic white banner, though some participants had difficulty viewing it initially. The solution involves custom CSS targeting the specific banner element on the homepage featured collection.

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

months ago I had made a change to the css code to remove the 50% off banner next to the price on the product page. Right now though that I have to enter a collection I get the white banner as pictured, can you give me a code to remove it? thanks

Hey @lf_2

I don’t see it on your website. Have you fixed the problem?

Best Regards,

Moeed

Hello @lf_2
I can’t see anything here.

in the collections it doesn’t appear, but if I enter the “featured collection” section on the home page where the scrolling items are, the white banner appears there.

1 Like

Can you add the featured collection in the home page and publish it first so I can help you out?

Best Regards,

Moeed

add now, check please,in the home page

check now in the home page

Hey @lf_2

Follow these Steps:

  1. Go to Online Store

  2. Edit Code

  3. Find theme.liquid file

  4. Add the following code in the bottom of the file above tag


RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

This is what i can see