Member
Member
nautis   10-05-2006, 01:14
#1

I've seen a couple of themes with 3 columns but didn't see exactly how this was done. Is it a css function or it this handled in the theme index.php or in the template-functions.php?

Developer
Developer
trisweb   10-05-2006, 03:20
#2

It's probably done in the CSS, but if you want to do something with a "count of three" in the PHP, you can just use a counter and increment it each time, then you know which image you're on in the while(next_image()): loop.

But it's much easier to just put them each in a DIV and make the widths so they fall into three columns. Much much easier and more elegant. I recommend that.

Member
Member
impete82   03-08-2008, 20:30
#3

i was trying to figure this out as well, it is in the css file. find where in your css it controls the width of the "boxes" where your thumbnails are. for me:

/ Album Thumbnails
------------------------------
/

albums {


float: left;
margin-bottom: 12px;

}
.album {
margin: 0 12px 12px 0;
padding: 10px 8px 8px 10px;
float: left;
[b]width: 305px;

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.