View Full Version : How Can i Change CSS Setting
Hamedk
04-25-2008, 05:43 AM
Hello
now i have a question again !!!:D
i want to change the default css settings (not by Contorl panel) because i want to add a class and use it on the template editor......
which file i should configue???
(sorry for my bad english)
Lynne
04-25-2008, 03:38 PM
Styles & Templates > STyle Manager > find your style > Main CSS > at the bottom of that page is Additional CSS Definitions and you can add your class there.
I think that is what you want. If not, post back here.
Hamedk
04-25-2008, 05:28 PM
yes ... your think is true
but ....
may show me a example here....
i want to add a class
thanks
Lynne
04-25-2008, 06:01 PM
You can look at you style sheet (if it is in the file system) or you page (if it is just in the page) and see what it should look like. For example, for a simple change in color, I have listed under Additional CSS Definitions:
.color1 {color:green}Then, in my templates when I want to use that class, I would go:
<span class="color1">This is text I want showed in green</span>Or for more definitions in the class:
.progtable {padding: 0px; background-image: url(images/background.png); background-repeat: repeat-x}
.progrow {padding: 0px; background-image: url(images/progress.png); background-repeat: repeat-x}And in my plugin I have:
$t="<table border=0 width=101 height=17 class='progtable'>";
$t.="<tr><td width=$percent class='progrow'>";
$t.=" </td><td border=0></td></tr></table>";
Hamedk
04-25-2008, 06:07 PM
so thankssssss
I'll use that '
you are a good friend for me....
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.