Change width

Support for PhpBB3. Post here to get help with any phpBB3 related issue here
There is no support here! Only Read Access!
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe your problem and what happened when the problem occured
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
Locked
Widmo
BBCoder II
BBCoder II
Posts: 11
Joined: 09 Mar 2010, 02:33

Change width

Post by Widmo »

Hello,
I create my own style (based on prosilver), but have one problem. I change width everywhere except in one place. I wanna change width in memberlist in table user.
I enclose a picture to explain it clearly

SCREEN HERE

I hope someone knows the answer to my question :)
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 863
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

Re: Change width

Post by Steve »

open styles/your_style/theme/common.css
find:

Code: Select all

.forabg {
	background: #b1b1b1 none repeat-x 0 0;
	margin-bottom: 4px;
	padding: 0 5px;
	clear: both;
}

.forumbg {
	background: #ebebeb none repeat-x 0 0;
	margin-bottom: 4px;
	padding: 0 5px;
in the code above find x2:

Code: Select all

	padding: 0 5px;
replace with:

Code: Select all

	padding: 0;
should be bobs your uncle ? solved or not ?

* edit if not in common.css
find this and adjust to your needs

Code: Select all

table.table1 {
	/* See tweaks.css */
}

#ucp-main table.table1 {
	padding: 2px;
}

table.table1 thead th {
	font-weight: normal;
	text-transform: uppercase;
	color: #FFFFFF;
	line-height: 1.3em;
	font-size: 1em;
	padding: 0 0 4px 3px;
}

table.table1 thead th span {
	padding-left: 7px;
}

table.table1 tbody tr {
	border: 1px solid #cfcfcf;
}

table.table1 tbody tr:hover, table.table1 tbody tr.hover {
	background-color: #f6f6f6;
	color: #000;
}

table.table1 td {
	color: #6a6a6a;
	font-size: 1.1em;
}

table.table1 tbody td {
	padding: 5px;
	border-top: 1px solid #FAFAFA;
}

table.table1 tbody th {
	padding: 5px;
	border-bottom: 1px solid #000000;
	text-align: left;
	color: #333333;
	background-color: #FFFFFF;
}

/* Specific column styles */
table.table1 .name		{ text-align: left; }
table.table1 .posts		{ text-align: center !important; width: 7%; }
table.table1 .joined	{ text-align: left; width: 15%; }
table.table1 .active	{ text-align: left; width: 15%; }
table.table1 .mark		{ text-align: center; width: 7%; }
table.table1 .info		{ text-align: left; width: 30%; }
table.table1 .info div	{ width: 100%; white-space: normal; overflow: hidden; }
table.table1 .autocol	{ line-height: 2em; white-space: nowrap; }
table.table1 thead .autocol { padding-left: 1em; }

table.table1 span.rank-img {
	float: right;
	width: auto;
}

table.info td {
	padding: 3px;
}

table.info tbody th {
	padding: 3px;
	text-align: right;
	vertical-align: top;
	color: #000000;
	font-weight: normal;
}

.forumbg table.table1 {
	margin: 0 -2px -1px -1px;
}
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
Widmo
BBCoder II
BBCoder II
Posts: 11
Joined: 09 Mar 2010, 02:33

Re: Change width

Post by Widmo »

Thank you for help vectra-mods, your answer helped me. But I have some more questions :P
All the questions I written on the screens:
1. http://i40.tinypic.com/121r3te.png
2. http://i42.tinypic.com/258t0rn.png
Widmo
BBCoder II
BBCoder II
Posts: 11
Joined: 09 Mar 2010, 02:33

Re: Change width

Post by Widmo »

I add margins in template files and now is OK :)
Locked