| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
change text colour - white for main page - black for dialogs | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
change text colour - white for main page - black for dialogs
Hi All,
I have a blue background. The dialog box backgrounds are white. I want to have black text in the dialog boxes and white text everywhere else (except the menus but these are handled separately). I cant seem to do these at the same time. I dont want to change the templates as I dont want to have to go through all of the other templates to see what else appears in this spot. I though this would have worked... /* set the main text to white */ div,th,td,p,tt,button,select,inut,textarea { font-family: verdana, arial, helvetica, sans-serif; color: #ffffff; font-size: 11px; } /* set all of the same withing a dialog to black */ .dialog > div,th,td,p,select,inut,textarea { color: #000000; } But text that isn't in a dialog box class object is areas is turning black. Its only the text in plain paragraphs that is a problem. The others all have their own class that I can change. Have I got the CSS wrong? I would appreciate any comments to point me in the right direction. regards Justin.
__________________
[fsc] X-Cart 4.2.0 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: change text colour - white for main page - black for dialogs
I wish your CSS were right, it will save me a lot of time
But you should write some extra characters to achieve desired effect. Reality is cruel Code:
Code:
__________________
Regards, Victor Dubiniuk X-Cart Skins Store - twenty two different skins for 4.1.x and 4.2.x; - 4.3.x compatible versions are available; - refresh you store now! Smart menu X-Cart add-on for 4.1.8 - 4.3.x Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x |
|||||||||
#3
|
|||||||
|
|||||||
Re: change text colour - white for main page - black for dialogs
Hi Victor D,
Thanks for your help. It worked well. regards Justin.
__________________
[fsc] X-Cart 4.2.0 |
|||||||
#4
|
|||||||
|
|||||||
Re: change text colour - white for main page - black for dialogs
Welcome to the X-Cart forums! Please start by reading the following thread, which will help you get started and hopefully make your experience here a positive one:
http://forum.x-cart.com/showthread.php?t=23970 Please note that this link is not an answer to your question, but we need you to update your signature with your X-Cart version so that we can answer your questions correctly. Thanks!
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|