Change button hover effect from solid to outline

Solved

Change button hover effect from solid to outline

lplabranche
Excursionist
34 0 19

The title says it all.

I have this code for the multirow section which works perfectly, however the same code won't work for the contact form button. I already have codes which affect the width of the form, therefore if change a.button to .contact__button, it affects the whole page width.

 

the code i have here:

 

a.button {
background-color: black;
opacity: 100%;
}
a.button:hover {
background-color: transparent;
border: 1px solid #000000;
color: #000000;
}

 

site:

www.inprintstore.com

pass: shiznitz

Accepted Solutions (2)

Moeed
Shopify Partner
4892 1292 1566

This is an accepted solution.

Hey @lplabranche 

 

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 </body> tag

<style>
.contact__button button:hover {
    border: solid 1px black !important;
    background: transparent !important;
    color: black !important;
}
</style>

RESULT:

Moeed_0-1724703368053.png

 

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

 

Best Regards,
Moeed

-Need a Shopify Specialist? Chat on WhatsApp
- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

View solution in original post

Made4uo-Ribe
Shopify Partner
7609 1833 2245

This is an accepted solution.

Check this one. 

Same Instruction. 

 

.header__icons a:hover {
  filter: drop-shadow(0.25px 0 0 black) 
          drop-shadow(0 0.25px 0 black) 
          drop-shadow(-0.25px 0 0 black) 
          drop-shadow(0 -0.25px 0 black);
}

 

And Save. 

Result:

Made4uoRibe_0-1724709842263.png

 

 

 

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

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 5 (5)

Moeed
Shopify Partner
4892 1292 1566

This is an accepted solution.

Hey @lplabranche 

 

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 </body> tag

<style>
.contact__button button:hover {
    border: solid 1px black !important;
    background: transparent !important;
    color: black !important;
}
</style>

RESULT:

Moeed_0-1724703368053.png

 

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

 

Best Regards,
Moeed

-Need a Shopify Specialist? Chat on WhatsApp
- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
lplabranche
Excursionist
34 0 19

thanks for the solution, would you be able to apply a thicker border on hover of the header cart+customer profile icon by any chance?

Made4uo-Ribe
Shopify Partner
7609 1833 2245

Hi @lplabranche 

Check this one. 

From you Admin page, go to Online Store > Themes

Select the theme you want to edit

Under the Asset folder, open the main.css(base.css, style.css or theme.css)

Then place the code below at the very bottom of the file.

 

.contact__button button.button:hover {
background-color: transparent;
border: 1px solid #000000;
color: #000000;
}

 

And Save. 

Result:

Made4uoRibe_0-1724704269467.png

 

 

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

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
lplabranche
Excursionist
34 0 19

thanks for the solution, would you be able to apply a thicker border on hover of the header cart+customer profile icon by any chance?

Made4uo-Ribe
Shopify Partner
7609 1833 2245

This is an accepted solution.

Check this one. 

Same Instruction. 

 

.header__icons a:hover {
  filter: drop-shadow(0.25px 0 0 black) 
          drop-shadow(0 0.25px 0 black) 
          drop-shadow(-0.25px 0 0 black) 
          drop-shadow(0 -0.25px 0 black);
}

 

And Save. 

Result:

Made4uoRibe_0-1724709842263.png

 

 

 

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

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.