How to change the product gallery text color?

Topic summary

A new developer inherited a Shopify store with multiple text color visibility issues where white text blends into white backgrounds across various sections.

Main Problems Identified:

  • Product gallery and collection category text invisible against background
  • Quick shop button modal text displaying in white
  • Search bar placeholder text blending into background
  • Shopping cart widget text color issues
  • Product images cropped too large in gallery view

Solution Provided:
A community helper provided custom CSS code to be added to the theme’s stylesheet (base.css/style.css/theme.css) targeting specific elements:

  • Product titles, prices, and section headings
  • Quick shop modal elements
  • Swatch borders and payment buttons

Current Status:
The CSS fix resolved most issues, but the quick shop modal title color remains unchanged. The original poster requested additional help for the search bar text and image sizing problems. Multiple screenshots were shared throughout to illustrate the various display issues.

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

Hi. I’ve taken over for a developer that is no longer responding and I’m having some issues with text color. I Need these text colors to be white so that they show up. It blends in to the background. This is the featured collection category, as well as any other product category when selected. Can you please guide me on how to change these?

Also having an issues with this text all being white when i click the ‘quick shop’ button on a product.

1 Like

Hi @Outtheclosets

Would you mind to share your store URL? Thanks!

Yes it is www.outtheclosets.com

1 Like

A lot to change :laughing: .

From your Shopify admin dashboard, click on “Online Store” and then “Themes”.

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

h3.t4s-section-title.t4s-title,
h3.t4s-product-title,
.t4s-product-price,
.t4s-product-price del:not(div.t4s-product__price-review > div > del, div.t4s-product-qs__price > div > del) {
    color: white !important;
}

body > div.t4s-modal.t4s-modal--is-active > div > div > div > div > div.t4s-col-md-6.t4s-col-12.t4s-col-item.t4s-product__info-wrapper.t4s-pr *:not(.t4s-product__price-review > div > ins) {
    color: black;
}

button.shopify-payment-button__more-options.BUz42FHpSPncCPJ4Pr_f {
    background: black !important;
}

.t4s-product-qs-inner * {
    color: black;
}
.t4s-swatch__item.is--selected {
    border: 1px solid black !important;
}
div.t4s-product-form__buttons > div.t4s-d-flex.t4s-flex-wrap > button {border: 1px solid black;}

And Save.

Result:

Confusing codes.. :face_with_crossed_out_eyes:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Wow, thank you so much for doing all that. That fixed everything i needed, except it didn’t change the title color of the quick shop option:

Would it also be okay to check out a couple more things? The search bar at the top, the text inside of it is white and blends into the background.

My images all are too large and cutoff the product in a product gallery. I’d like it to be able to show the whole product in the images.

And I’m unsure why, but the shopping cart widget also is having text color issues. I’m sorry for all of this, but my developer has left me with a messed up website and i have no idea how to fix some of these.