Jump to content

Change colour on Checkout button and Green Text


Recommended Posts

Hello

 

i would like to change two things

1) In photo one -

the "green text colour and Font" in this text once a product has been added into the basket

 

and

 

2) in the second photo

the "RED Checkout button colour" seen on photo in the side shopping basket

 

i am using a custom theme

 

thanks very much

 

 

CHECKOUT GREEN.JPG

CHECKOUT.JPG

Edited by ilegales (see edit history)
Link to comment
Share on other sites

Use the "inspect element" function in your browser (right-click on the element) to identify the correcponding CSS class/ID. Then add the CSS code into your themes customs.css with adjusted color attributes

Link to comment
Share on other sites

i tried both with a (.) at the start and then with a (#)

 

}
  #layer_cart .layer_cart_product .title {
    font: 400 23px/29px "play",sans-serif;
    color: #ad1457;
    margin-bottom: 22px;
    display: block;
    padding-right: 100px !important; 
}
  #blockcart-modal .modal-title {
    font: 400 23px/29px "play",sans-serif;
    color: #ad1457;
    margin-bottom: 22px;
    display: block;
    padding-right: 100px !important;
}

 

 

cleared cache and on the browser hard reset and clear cache in developer mode

 

no change.....

 

Link to comment
Share on other sites

You have to insert !important for each line:

 

#layer_cart .layer_cart_product .title {
    font: 400 23px/29px "play",sans-serif !important;
    color: #ad1457 !important;
    margin-bottom: 22px !important;
    display: block !important;
    padding-right: 100px !important; 
}
  #blockcart-modal .modal-title {
    font: 400 23px/29px "play",sans-serif !important;
    color: #ad1457 !important;
    margin-bottom: 22px !important;
    display: block !important;
    padding-right: 100px !important;
}

 

you have to insert  "." if it's a class or "#" if it's a id

Link to comment
Share on other sites

that worked for the left side of the cart box

i still have the other font for the right side

"there is 1 item in your shopping cart" 

(See photo)

 

Also the "RED" Checkout button i would like to change that colour

Any idea on how to change that colour please

 

 

This code did not seem to do anything - what should this part change?

#blockcart-modal .modal-title {
    font: 400 23px/29px "play",sans-serif !important;
    color: #ad1457 !important;
    margin-bottom: 22px !important;
    display: block !important;
    padding-right: 100px !important;
}

 

second part.JPG

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...