Add Highlight to 'Proceed to Checkout' Button

  • Posts: 214
  • Thank you received: 1
11 years 8 months ago #127508

Hi There,

Bit of a random one, but I've been asked by my boss if I can add a yellow highlight to the "Proceed to Checkout" button when someone hovers their mouse over it. I've used Firebug to find out the button is called 'btn button hikashop_cart_input_button' but I can't seem to find that in Display > Hikashop back-end CSS.

Am I looking in the right place and if not how would I go about giving the button some hover over colour?

Kind Regards,

Matthew

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #127526

Hi Matthew,

You'll probably be able to do that by using some CSS code like :

.btn.button.hikashop_cart_input_button:hover {
border-color: yellow;
}

Last edit: 11 years 8 months ago by Mohamed Thelji.

Please Log in or Create an account to join the conversation.

  • Posts: 214
  • Thank you received: 1
11 years 8 months ago #127530

Hi Mohamed,

Thanks for the reply, but I'm afraid that CSS didn't work, instead of having a yellow border applied it just appears to shift the image of the button slightly!

Please Log in or Create an account to join the conversation.

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #127550

Ok, then you should try something like this :

btn.button.hikashop_cart_input_button:hover[name="checkout"] {
border-color: yellow!important;
border-width: 10px !important;
}

Last edit: 11 years 8 months ago by Mohamed Thelji.
The following user(s) said Thank You: matps

Please Log in or Create an account to join the conversation.

  • Posts: 214
  • Thank you received: 1
11 years 8 months ago #127897

That has worked great, thanks so much!

Please Log in or Create an account to join the conversation.

Time to create page: 0.068 seconds
Powered by Kunena Forum