Changing the color of 1 collection item in a collection list

Hello,

I want to change the color of the text of the second collection on the collection list to black.

But i don’t know how to do it without changing the others to black as well, the name of the collection is Light Elegance.

Thanks!

@Juwel123

please share a screenshot or store url so that i can give you exact solution and helps you to solve it :slightly_smiling_face:

thanks

1 Like

@Liquid_xPert_SJ

As you can see the white letters are faded away due to the white background of the picture. That’s why I only want to change the middle text.

@Juwel123

is it possible to share a url? or the theme name? plz

thanks

1 Like

@Liquid_xPert_SJ

I’m using the newest Dawn theme, i’m still building the store so it is not live yet.

Thanks!!

you can just share the url and store front code i just want view the page so that i will guide you exactly and make this conversation very short :slightly_smiling_face:

thanks

@Juwel123

please add this below code to your base.css file i guess this will work for you

Online Store > Edit Code > Assets > base.css

.collection-list.grid .collection-list__item:nth-child(2) .card__heading a {
	color: red !important;
}

thanks

@Liquid_xPert_SJ
Thank You very much, this solution works great.

Thanks!!!

@Juwel123

No problem do let me know if you need help needed.

thanks

1 Like

@Liquid_xPert_SJ

By any change, do you no how to set up an minimum order price?

for cart page, or checkout? can you share an example so that i can understand your question exactly.

thanks

1 Like

@Liquid_xPert_SJ

In the cart and checkout i would like to have a notification if the amount people want to purchase is below €35. Something like:

The minimum order price is €35.

Thankyou!

@Juwel123

for cart this can be done by some custom coding, While the checkout Shopify only give access to its Shopfiy Plus plan customers to access and edit the checkout layout.

Thanks

1 Like

@Liquid_xPert_SJ

ohh ohkee, thankyou! Do you have a code or otherwise know where i can find an code?

Thanks!

@Juwel123

I hope this video will help you to do this, If not do let me know i can do it for you :slightly_smiling_face:

Video

Thanks

@Liquid_xPert_SJ

I have found this code of you that you send to someone else.

{% assign _pVal = cart.total_price | divided_by : 100 %}
{% if _pVal > 10 %}
// Put all your checkout code here
{% else %}

Order must be greater than 100
{% endif %}

I have put it in like this, but when the value is over 35 it shows the message.

And it shows this when it is under 35. but i have to refresh the whole page to make it work. When i just change the amount from 1 to 2 the value changes but the button does not appear before i reload the whole page.

Thanks!

@Juwel123

You can just refresh the page but using script whenever quantity increase or decrease?

thanks

@Liquid_xPert_SJ

Yes the script works but you have to refresh the whole page to make it work. Clients will probably not do this by their own :sweat_smile:

Thanks!

no it will do automatically with script client dont need to refresh the page. use window.reload function.

@Liquid_xPert_SJ

Where should I put this in the code?

Thankyou very much!