Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Why is this in the ectcart.css? 7.1.7
Author « Topic »  

oozak
Advanced Member

USA
283 Posts

Pre-sales questions only
(More Details...)

Posted - 12/06/2019 :  10:58:50  
I'm finding this in ectcart.css v7.1.7:

div.minicartoneline > div

That extra > div is forcing it to be whatever is commanded ;) I don't want my background to be #fff, I would like none, but when I add it to my css sheet, it gets overridden!

Is this a mistake or is there some reason it has to have a white background?

Thanks! Rusty

Happy to use ECT since 2005!

Phil
ECT Moderator

United Kingdom
7617 Posts

Posted - 12/06/2019 :  11:54:56  
Hi Rusty,
First of all can you make sure your style.css or whatever it's called comes after the call for the ectcart.css on all your pages so it overrides it.

If it still doesn't override it add 'important!' to the css
For example div.yourdiv{background: none!important;}



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Edited by - Phil on 12/06/2019 11:55:31

oozak
Advanced Member

USA
283 Posts

Pre-sales questions only
(More Details...)

Posted - 12/06/2019 :  12:02:05  
Thanks Phil.

Never even thought to use an !important, duh. But, it worked. Have to use it for every mod in that area as well.

Rusty

Happy to use ECT since 2005!

Phil
ECT Moderator

United Kingdom
7617 Posts

Posted - 12/06/2019 :  12:07:51  
To be honest I've been caught out a few times by not adding that thinking it should override it because it's the last css instruction but it doesn't always work like that!



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000