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

Struggling with easy CSS issue: font color change

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-03-2009, 09:14 AM
 
AMMoyer AMMoyer is offline
 

Senior Member
  
Join Date: Nov 2008
Posts: 150
 

Default Struggling with easy CSS issue: font color change

I am trying to change the font color to white on the welcome.tpl since I have a dark background for this template. I've tried adding a new class, but Firebug always shows the that the style that is controlling the font color is Line 5 of the CSS and my newly created style is overwritten. I am obviously not skilled enough with CSS yet to create a new style that completely overrides the base style. I have tried everything I can think of to make this work. Any assistance is greatly appreciated. Thanks.
__________________
Adam
X-Cart Gold 4.4.5 - Live
X-Cart Gold 4.1.11 - Retired
X-Payments 1.0.4
CDSEO Pro
EWD Hosting
Reply With Quote
  #2  
Old 06-08-2009, 04:30 AM
 
autobulbs autobulbs is offline
 

Advanced Member
  
Join Date: Feb 2007
Location: Southampton, UK
Posts: 68
 

Default Re: Struggling with easy CSS issue: font color change

You could add !important to the line of css code like this:

.myClass {
color:#fff !important;
}
__________________
Autobulbs Direct Ltd
X-Cart Version: 4.2.2
eWay Designs - Custom X-Cart Templates / CMS Websites / Bespoke web applications
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 11:59 PM.

   

 
X-Cart forums © 2001-2020