Join us today @ 1pm EDT for an AMA with 2H Media: Holiday Marketing for Your Shopify Store and have your marketing questions answered by marketing experts 2H Media | Plus watch the 2H Media AMA Livestream on Twitch!

Change Color of Text for Featured Products in Specific Collection

Solved

Change Color of Text for Featured Products in Specific Collection

TrinityThrift
Excursionist
19 0 5

I have searched for this all over, but cannot find a viable solution. TrinityThrift.com

 

Basically, I would like to change the color of the text for my Featured Collections for each specific collection. I have several, and have created custom themes in the Theme Editor. But I cannot get the color of the text to change for each individual collection theme.

 

For my Astrology Drip and BackDrip collections, the text is the correct color (white), however, I want the text to be a different color for my other themes (like the petite, small, etc for my thrift shop). Could someone please tell me what to type into my theme.scss.liquid?

 

As you can see in the picture below for Astrology Drip, the text is white, which is fine.

TrinityThrift_0-1665624816683.png

TrinityThrift_1-1665624904632.png

 

 

But for this collection (petite), the text is also white, and I need it to be black. How can I change the text for each individual collection?

TrinityThrift_2-1665625026787.png

 

Accepted Solution (1)

Litos
Globetrotter
688 169 148

This is an accepted solution.

Hi @TrinityThrift,

Go to Assets > theme.scss.liquid and paste this at the bottom of the file:

#astrology-drip * {
    color: #fff !important;
}
#petites * {
    color: #000 !important;
}

Hope it helps!

Litos - Shopify Development Service Provider
Need to develop or customize your Shopify store, feel free to contact us here.

View solution in original post

Replies 9 (9)

marcoswata
Shopify Partner
123 10 39

Could you please clarify:

1. should the font colour apply to product titles only, in the collection page?

2. is this going to be a colour per collection template (in this case you can create a setting in your collection section) or per individual collection? (in this case you will need metafields)

If my answer was helpful then please Like and Accept Solution 🙂
If you need help with design, development or marketing your store, contact me!

Litos
Globetrotter
688 169 148

This is an accepted solution.

Hi @TrinityThrift,

Go to Assets > theme.scss.liquid and paste this at the bottom of the file:

#astrology-drip * {
    color: #fff !important;
}
#petites * {
    color: #000 !important;
}

Hope it helps!

Litos - Shopify Development Service Provider
Need to develop or customize your Shopify store, feel free to contact us here.
TrinityThrift
Excursionist
19 0 5

Oh goodness, thank you SO MUCH Litos!!! That was the trick. Thank you, Thank you, THANK YOU!! 😁

Litos
Globetrotter
688 169 148

Hi @TrinityThrift,

If you have any further questions, you can contact me.
Happy to help you.

Litos - Shopify Development Service Provider
Need to develop or customize your Shopify store, feel free to contact us here.
TrinityThrift
Excursionist
19 0 5

One more quick question:

I notice now that there are two headers on my collection pages now. Not sure how that happened, and I'm not sure where to change it, as I can't located it on the page inspector. If you have any ideas, I'd be grateful!

 

TrinityThrift_0-1665670700019.png

 

Litos
Globetrotter
688 169 148

Hi @TrinityThrift,

You can create a question on the community and send me the link. I will check it.
Because this will help build a better community.
Thank you.

Litos - Shopify Development Service Provider
Need to develop or customize your Shopify store, feel free to contact us here.
TrinityThrift
Excursionist
19 0 5

Good idea. I'll do that, thank you!

TrinityThrift
Excursionist
19 0 5

oscprofessional
Shopify Partner
16115 2409 3121

Hello @TrinityThrift 

It will be helpful if you try this code.

Go to the online store ->Theme -> Assets -> theme.scss.liquid -> Add code at the bottom

 

.ProductList.ProductList--grid.ProductList--removeMargin.Grid .Heading {    
color: #000;
}

 

Get pass your Store Core Web Vital Free Speed Optimization Audit, Chat on WhatsApp | Skype : oscprofessionals-87 | Email: pallavi@oscprofessionals.com | Hire us | Guaranteed Site Speed Optimization | Website Free Audit | Shopify Theme Customization | Build Shopify Private App | Shopify SEO | Digital Marketing | Oscp Upsell & Cross sell App : Free | Oscp Sales & Volume Discount App : Free | Custom Pricing Wholesale App : Free