Page 1 of 1

Changing cellpic(#) height

Posted: Tue Oct 22, 2002 2:18 am
by CyberSpy
Hi,
I am trying to create a custom style, but since I added so many mods, I am just changing everything in subsilver. My question is, my new cellpic3 has a height of 20 (not 25) and my new cellpic and cellpic1 have a different height as well. When I go into subsilver.css to change it, I find:

Code: Select all

/* Header cells - the blue and silver gradient backgrounds */
th	{
	color: #FFA34F; font-size: 11px; font-weight : bold;
	background-color: #006699; height: 25px;
	background-image: url('images/cellpic3.gif');
I change the 25px to 20px and save it, yet whenever I refresh the page, the cell is still showing as 25 so my image ends and starts to show again. How do I make that cell 20 instead of 25? As well as for the others (cellpic and cellpic1)

Posted: Tue Oct 22, 2002 4:59 am
by LaZeR
Did you change the heights of the cellpic.gif (s) :?:

Yes

Posted: Tue Oct 22, 2002 5:14 am
by CyberSpy
My question is, my new cellpic3 has a height of 20 (not 25) and my new cellpic and cellpic1 have a different height as well.


Very beginning of my post.

Posted: Tue Oct 22, 2002 9:14 am
by Daz
Hi,

If you are using a default subSilver, change the CSS in overall_header.tpl.

Still not working

Posted: Tue Oct 22, 2002 10:34 am
by CyberSpy
I opened that file and scrolled down and found the same lines, changed the 25px to 20px and, still nothing, no changes at all.

Posted: Tue Oct 22, 2002 10:41 am
by Daz
Hi,

Please provide a link to your forum.

Also, which browser are you using?

Link..

Posted: Tue Oct 22, 2002 10:51 am
by CyberSpy
Okay, I PM'd you the link... don't want to give it out public til the site is done.

Posted: Tue Oct 22, 2002 10:54 am
by Daz
Hi,

From what I can see of the board you need to alter the heights in such as;

Code: Select all

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
			background-image: url(templates/subSilver/images/cellpic1.gif);
			background-color:#D1D7DC; border: #CBCBCB; border-style: solid; height: 28px;
}

/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
	height: 29px;
	border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
	font-weight: bold; border: #BOBOBO; border-style: solid; height: 28px;
}
td.row3Right,td.spaceRow {
	background-color: #D1D7DC; border: #CBCBCB; border-style: solid;
}

What file?

Posted: Tue Oct 22, 2002 10:59 am
by CyberSpy
What file would that be in? And I really don't see a difference. I am trying to change the height of cellpic3 btw, which is now 20 not 25px

Posted: Tue Oct 22, 2002 11:04 am
by Daz
Hi,

All I can base my advice on is what I can see - the images were in the headers, which have different settings due to the borders.

overall_header.tpl is the file you alter them in.

Okay

Posted: Tue Oct 22, 2002 11:11 am
by CyberSpy
I follow you, but which line controls the cell in question?

Posted: Tue Oct 22, 2002 11:17 am
by Daz
Hi,

I haven't documented the index page, but this should give you an idea for the header cells;

subSilver View Topic