Jump to content

CSS cannot override


Recommended Posts

Does anyone help me to change the color from dark blue to dark grey (i need to make teh color match with order summary background color). I tried numerous method, nothing seems to work.   it works in google developer tools but when i try to override it in custom.css, it no loger works.. any help highly appreciated.

Untitled.png

i tried following, it works on developer tools but not from cutom.css

#order-standard_cart .view-cart-items-header {
    margin: 0;
    padding: 8px 15px;
    background-color: #666;
    color: #fff;
    font-size: .9em;
    border-radius: 4px 4px 0 0;
}

#order-standard_cart .view-cart-items {
    margin: 0 0 20px 0;
    border-bottom: 2px solid #666;
}

 

 

Edited by jimsweb
Link to comment
Share on other sites

If that selector is correct then you can force it to overwrite. By adding the !important declaration.  This will stop any other css applies afterwards being used.

Have you also cleared the caches to make sure your custom CSS is being displayed?

background-color: #666 !important;
Edited by Damo
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated