Forums / Cotonti / Support / What CSS Entry?

pspfreak
#1 2009-12-30 09:12
I am trying to mod the white tables to black, and I was wondering what tags they are. Look in the screenshot to know what I mean:
http://psptutorial.co.cc/datas/users/1/screenshot_1.png
pieter
#2 2009-12-30 15:07
Look for this part in CSS file:

/* ============== Tables ============== */
table td  { vertical-align:top; }
table.flat { width:100%; margin:0; padding:0; border-collapse:collapse; }
table.flat td  { padding:0; margin:0}
table.main { width:100%; margin:0; padding:4px; }
table.main td  { padding:4px; }
table.cells { width:100%; border-spacing: 1px; margin:0; padding:0;}
table.cells td { background-color:#252525; padding:3px; }
table.list { width:100%; margin:0; padding:5px; }
table.list td  { padding:12px; }


Added 1 minute later:

.coltop { text-align:center; background-color:#303030!important; color:#707070; padding:5px 0; font-weight:bold; }
.odd { background-color:#292929!important; }
.even { background-color:#252525!important; }

.odd is for the odd lines
.even for the even lines

Coltop is for the topline with the explaination in.

Added 2 minutes later:

Recentitems.tpl:

<!-- BEGIN: RECENTPAGES -->
<table class="cells">
	<!-- BEGIN: RECENTPAGE -->
	<tr><td>{RI_DATE} </td><td> {RI_CAT} </td></tr>
	<tr><td class="odd" style="padding-left:8px;" colspan="2"> {RI_NAME}</td></tr>
	<!-- END: RECENTPAGE -->
</table>
<!-- END: RECENTPAGES -->
<!-- BEGIN: RECENTFORUMS -->
<table class="cells">
	<!-- BEGIN: RECENTFORUM -->
	<tr><td>{RI_IMG} </td><td>{RI_DATE} </td><td>{RI_CAT} </td><td>{RI_NAME} </td><td>({RI_COUNT})</td></tr>
	<!-- END: RECENTFORUM -->
</table>
<!-- END: RECENTFORUMS -->

And here you can see that you need to change the part table.cells and odd
... can we help you ...
pspfreak
#3 2009-12-30 23:20
thank you pieter

Added 5 minutes later:

Now, the problem is, is that it wont display anything in the forums. What css entry is that? I have been trying to play around with it.

Added 1 minute later:

http://psptutorial.co.cc/datas/users/1/screenshot-1_1.png
This post was edited by pspfreak (2009-12-30 23:27, 14 years ago)
pieter
#4 2009-12-31 00:26
add in css for this tables
color:#FFFFFF

Color is the color for the text. after # you can add the hexcode of the color you want.

eg:
# table.cells { width:100%; border-spacing: 1px; margin:0; padding:0;color:#FFFFFF}
... can we help you ...
pspfreak
#5 2009-12-31 01:53
Thanks

Added 1 minute later:

man, wish this site had karma so I could give you some.