Change button hover effect from solid to outline

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

1 Like

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 tag


RESULT:

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

Best Regards,
Moeed

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:

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

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?

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?

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:

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

1 Like