How can I have the product borders darken when you hover over them

Solved

How can I have the product borders darken when you hover over them

PAUL8
Pathfinder
94 0 29

I want to have my borders darken when you hover over them like it does in this website here: 

https://www.towerhousewares.co.uk/cooking-appliances

I use dawn theme, my store is womber.fr and the password is PROPAGANDAAA

Thanks!

Regards,

 

Accepted Solutions (2)

AnneLuo
Shopify Partner
1299 228 266

This is an accepted solution.


You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code before the </head> tag

<style>
li.grid__item.scroll-trigger.animate--slide-in:hover {
    border: solid 1px #000;
}
</style>


Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

View solution in original post

AnneLuo
Shopify Partner
1299 228 266

This is an accepted solution.

Replace the code with that below.

<style>
li.grid__item.scroll-trigger.animate--slide-in:hover {
    border: solid 2px #000;
    border-radius: 10px;
}
</style>

 Result:

AnneLuo_0-1728890548267.png


Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

 

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

View solution in original post

Replies 5 (5)

AnneLuo
Shopify Partner
1299 228 266

This is an accepted solution.


You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code before the </head> tag

<style>
li.grid__item.scroll-trigger.animate--slide-in:hover {
    border: solid 1px #000;
}
</style>


Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

PAUL8
Pathfinder
94 0 29

Thanks, friend, it's working. Can you edit the code to make it with a more round angle so it fits this little line?

PAUL8_1-1728886708745.png

 

 

AnneLuo
Shopify Partner
1299 228 266

This is an accepted solution.

Replace the code with that below.

<style>
li.grid__item.scroll-trigger.animate--slide-in:hover {
    border: solid 2px #000;
    border-radius: 10px;
}
</style>

 Result:

AnneLuo_0-1728890548267.png


Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

 

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

PAUL8
Pathfinder
94 0 29

Thanks. Can you help me delete all these corners when you do not cover them in every product preview?

PAUL8_0-1728891846378.png

 

AnneLuo
Shopify Partner
1299 228 266
<style>
.card--card.gradient, .card__inner.gradient {
    background: #fff !important;
}
</style>
If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee