View Full Version : How do I add css style sheet variables?
I have looked in css.php and adminfunctions_template.php and so far have not been able to figure out how css variables are added. Does anyone know? I know I could use replacements, but I would prefer to fully implement my changes so they are stored in the .css sheets. If anyone knows how to do this can you please tell me? Thanks.
~006
Zachery
05-15-2004, 05:50 AM
Im confused... what do you want to do exactly?
Cyphrix
05-15-2004, 07:23 AM
I think he's talking about adding more options to the css page in admincp and where to edit the php to add it into the database.
Zachery
05-15-2004, 07:57 AM
Like more setings? more CSS definitions?
Theres an extra CSS option area at the bottom.
Well I know. I want to add them as tables like for example, First Alternate color is customized in a special area on the .css page. I currently have got the areas to show up in css.php, but I need to make it so the values I set there are saved when I save the page.
Zachery
05-15-2004, 05:02 PM
Well I know. I want to add them as tables like for example, First Alternate color is customized in a special area on the .css page. I currently have got the areas to show up in css.php, but I need to make it so the values I set there are saved when I save the page.
Why go though all that trouble when you can just manually add the other CSS definitions?
I dunno, just was hoping it as possible. Looks more official. I was working on sort of a small hack and wanted it to look fully implemented. :(
Zachery
05-15-2004, 05:19 PM
The only person who would ever see this is you, if you need to brushup on your css you can try
www.w3schools.org
lol, I know, but I prefer hard coding as opposed to custom coding. I dunno. Just figured someone might know. No biggie. :)
EDIT: Well after working at it a bit more I was able to get it to work. Fully integrated. :)
Zachery
05-15-2004, 07:45 PM
Hard coding, would mean not using thoughs wysiwyg type editors for each CSS value you know
Well I know. I meant harcoding the system for selecting the colors. ;)
I got it now though. I had been doing this in VB2 but it was a lot easier. It's not that much harder in VB3 but you have to do a little searching around.
(And I could have sworn I was editing my post 2 posts ago when I made that other post.. weird. It made a new post..)
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.