A few carbon questions

joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Thu, 2007-06-28 21:58

I really like the carbon theme, but I'm wondering if I can:

-remove viewcount, but perhaps leave it on under admin view
-some sort of left justify? On my widescreen it's over to the right almost as if right justified. Centered or left would work better.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2007-06-28 22:19

@viewcount: assuming under the thumb:

			{g->block type="core.ItemInfo"
				  item=$child
				  showDate=true
				  showOwner=$showOwner
				  showSize=true
				  showViewCount=true
				  showSummaries=true
				  class="giInfo"}

change to false the items you don't want shown

@justify; URL? Example? screenshot?

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Fri, 2007-06-29 02:09

Which file do I adjust those values in?

And as far as the justify issue, here's a screen. Not bad, but could probably be better, maybe a bit more to the left.

[img]http://img257.imageshack.us/img257/7631/justifygr1.png[/img]

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2007-06-29 03:23

@File location: gallery2/themes/carbon/templates/album.tpl

@Justify issue: Are you familiar with HTML?
The design of the theme is:
<td width="30%"> change the value of the width to a absolute px value or smaller percentage.
or center align all its contents.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
joemonster
joemonster's picture

Joined: 2006-04-12
Posts: 236
Posted: Fri, 2007-06-29 14:11

Thanks, I'll give it a shot.

 
castorPT

Joined: 2008-01-05
Posts: 4
Posted: Sun, 2008-01-06 00:27

Exact same issue here. What I want is the thumbnails exactly centered with the same distance left and right and a smaller distance between each..

So far in my investigation if I change the

Quote:
<td width="30%">

for 200px for example I get the left side of the theme locked on that size.

For the main table i went into the theme.css and changed the

Quote:
.gsContentAlbum { margin: 5px 0 5px 0; }

to

Quote:
.gsContentAlbum { margin: 5px 30% 5px 0; }

. This gives me more space on the right but the distance between thumbnails still changes depending on the window size...

How can i "lock" the width for the thumbnail gallery, lets say to 600px or something and keep it centered all the time?

Thanks

 
castorPT

Joined: 2008-01-05
Posts: 4
Posted: Sun, 2008-01-06 00:43

I've changed it again to

Quote:
.gsContentAlbum { twidth:600px; margin: 5px 30% 5px 0; }

thus locking the size but i still cant figure out how to keep it centered... any suggestions?