![]() |
You don't have to remove this class - simply overwrite it by your own class:
Code:
.stg_table_transp {border: none; padding: 2px; background:transparent;} I set this css class so that the table fits into the design of the style - the standard vBulletin tables also have set this class. |
Quote:
|
I guess I need some more help to get it work
I tried to put this in "CSS Classes For The Table" Code:
.stg_table_transp {border: none; padding: 2px; background:transparent;} Code:
[table="css=transp"]testcol1|testcol2 What?s wrong whith that? |
No, in this field you have to add only transp nothing else. Append the css code in AdminCP -> Styles & Templates -> Style Manager -> (Dropdown) Main CSS -> Additional CSS Definitions
|
Quote:
So... Step 1 Append the css code in AdminCP -> Styles & Templates -> Style Manager -> (Dropdown) Main CSS -> Additional CSS Definitions Code:
/*****TABLES******/ Define css class AdminCP ->vBulletin-options -> BB Code [table] Settings ->CSS Classes For The Table Code:
transp Step 3 Put this code (example) for your table: Code:
[table="css=transp;width=450"]testcol11|testcol21|testcol31 So...was this the best way to do it? |
Yes, this is very good :) You only have a small mistake: Step 2: Set transp not table. You only have to set it for the table, not for the tablerows (which is possible too but then you have the css class .stg_tablerow_XXX and you can apply it by adding {css=XXX} to a row)
Don't forget to enable the css feature in "Enabled Features Of This BB Code". |
Quote:
I made a new css class: Code:
.stg_tablerow_black {background:#000; color:#FFF; } Code:
[table="css=transp;width=450"]testcol11|testcol21|testcol31 Can you give me an example for: Row 1 "css=black" Row 2-? "css=transp" ??? |
Why didn't I get a notification mail???
It's the mystery of css: Code:
.stg_tablerow_black td {background:#000; color:#FFF; } I also can get the first row black: Code:
[table="css=transp;width=450"]{css=black}testcol11|testcol21|testcol31 |
Quote:
|
It?s getting better and better!!!
I had a small space: Code:
[table="css=transp;width=450"] {css=black}testcol11|testcol21|testcol31 Code:
[table="css=transp;width=450"]{css=black}testcol11|testcol21|testcol31 Thanks! |
All times are GMT. The time now is 12:28 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|