Skip to main content

Add Highlight to 'Proceed to Checkout' Button

13 years 1 month ago #127508 by matps
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.

13 years 1 month ago - 13 years 1 month ago #127526 by Mohamed Thelji
Hi Matthew,

You'll probably be able to do that by using some CSS code like :
Code:
.btn.button.hikashop_cart_input_button:hover { border-color: yellow; }
Last edit: 13 years 1 month ago by Mohamed Thelji.

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

13 years 1 month ago #127530 by matps
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.

13 years 1 month ago - 13 years 1 month ago #127550 by Mohamed Thelji
Ok, then you should try something like this :
Code:
btn.button.hikashop_cart_input_button:hover[name="checkout"] { border-color: yellow!important; border-width: 10px !important; }
Last edit: 13 years 1 month ago by Mohamed Thelji.
The following user(s) said Thank You: matps

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

13 years 1 month ago #127897 by matps
That has worked great, thanks so much!

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

Time to create page: 0.055 seconds
Powered by Kunena Forum