![]() |
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. |
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:
.dialog > div, .dialog > th,.dialog > td, .dialog > p,.dialog > select,.dialog > input, .dialog > textarea Code:
.dialog div, .dialog th,.dialog td,.dialog p,.dialog select,.dialog input, .dialog textarea |
Re: change text colour - white for main page - black for dialogs
Hi Victor D,
Thanks for your help. It worked well. regards Justin. |
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! :) |
All times are GMT -8. The time now is 12:06 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.