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

Ajax Minicart background image problem

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-24-2010, 10:46 AM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Ajax Minicart background image problem

Hi, I can't work out how to remove the background image which is showing up in my minicart, you can see what I mean by going to:

http://www.mrdtrading.co.uk/store/home.php?shopkey=martin

and adding an item to the cart, then clicking on the cart drop down button.

I can't work out where some of the templates are which make the Ajax minicart, some of the code, such as:

<div class="minicart-box" style="display: block; left: 12px;">

I can't find in the templates that I've been able to find in Webmaster Mode. (I want to see where the inline styles are, and preferably remove them and put the styles in the CSS files where I presume they should be).

I am not au fait with Javascript, but I can see that ajax.minicart.js calls some classes, but I can't find the class 'cart-items', even though it appears in the HTML, as
<ul class="cart-items">
At least, Firebug doesn't display anything for it, just its ancestor styles. Have Qualiteam been putting in non-existent class names as a kind of 'comment' to show what the ul is for?

Any suggestions would be much appreciated. I'm sure it's easy but I just can't work out where some of the templates are.
__________________
X-Cart Gold Version 4.3.2
Reply With Quote
  #2  
Old 06-26-2010, 11:45 AM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Re: Ajax Minicart background image problem

I found the solution: in altskin.css, I added the following style after line 663:

.ajax-minicart ul {
background: #FFFFFF;
}


(You can add it anywhere you like, of course, it doesn't have to be after line 663, it's just that that's where the rest of the .ajax-minicart styles are kept).
So all the minicart AJAX calls look at that area of altskin.css for styles.
__________________
X-Cart Gold Version 4.3.2
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not 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:01 AM.

   

 
X-Cart forums © 2001-2020