Change button hover effect from solid to outline

Solved

Change button hover effect from solid to outline

lplabranche
Excursionist
38 0 20

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
7395 2003 2446

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

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Made4uo-Ribe
Shopify Partner
10142 2405 3039

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 5 (5)

Moeed
Shopify Partner
7395 2003 2446

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

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


lplabranche
Excursionist
38 0 20

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
10142 2405 3039

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
lplabranche
Excursionist
38 0 20

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
10142 2405 3039

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.