Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

changing the color of the minicart div in the header

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 01-06-2017, 02:17 PM
 
madhatter717 madhatter717 is offline
 

Member
  
Join Date: Oct 2016
Posts: 24
 

Default changing the color of the minicart div in the header

hi guys,

I would like to change the color of the mini-cart div to match the background color of my header.

the default background color is: #eff8fe

This is simple enough through css all i need to do is target the div through specificity, so this is my css

#header .block .content {background-color: #2660A5;
border: 1px solid #2660A5;
}

and voila the mini-cart changes color which is awesome, but xcart has a habit of throwing a curve-ball.

When I hover my mouse over the mini-cart it changes back to the default color of #eff8fe.

I have searched the css for a psuedo class of :hover and cant seem to find one for this div

can you please tell me where the controlling class for this div is on a hover event so that I can change the background-color of the psuedo class :hover

I need the background-color to be completely uniform and currently I can change the background-color of the div but not the hover state.

thanks
__________________
x-cart business 5.2.14
Reply With Quote
  #2  
Old 01-24-2017, 10:17 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: changing the color of the minicart div in the header

Here is the code that makes the block white:
Code:
.lc-minicart:hover { background-color: white; }
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:05 PM.

   

 
X-Cart forums © 2001-2020