Body different width than content Siriux

mlmorg

Joined: 2006-10-12
Posts: 9
Posted: Sat, 2006-10-28 00:21

Hey,
Is there a way to make the content, the gallery thumbs, centered and a smaller width than the body background. For example, I have a background image that I use in the header, content, footer sections that is 595px...therefore, the body.gallery is set to 595px. The problem is I want the gallery thumbs to be closer together and not stretch the full 595px. Is there a way to make everything inside the content portion of the site a smaller px length and than the normal 595 of everything else? Thanks, Matt

 
robert070612

Joined: 2003-08-05
Posts: 565
Posted: Sun, 2006-10-29 12:37

Vary the thumbnail size setting in the theme.tpl file.

{assign var="thumbCellSize" value=$theme.params.thumbnailSize+18}

May have to juggle with whatever you might've coded in the theme.css file:

.gallery-album {
	width: 16%; /* 96%=1|46%=2|32%=3|23%=4|19%=5|16%=6|12.5%=8 */
	padding-right: 0%; 
	display: inline; 
	float: left;
	overflow: hidden; 
}

For the centre thing then this can be done in the theme.css file:

.content {
	clear: both;
	margin: auto; /* auto--------does centre------------------ */
	text-align: left;
}

----best wishes, Robert