[SOLVED] [Siriux] I can't change the height between the rows of albums.

delFUEGO
delFUEGO's picture

Joined: 2006-05-16
Posts: 3
Posted: Mon, 2006-05-22 04:57

Hi,

Im customizing the "Siriux" theme but Im stuck in a probably silly CSS problem. There is way too much empty space between rows, and I just can't make it smaller. If you want to see what I mean, take a look in here. Ive touched the CSS in all way conceivable but nothing. Am I missing something?

Also, Im trying to take out some of the interface languages from the dropdown menu, any idea?

Thanks.

Gallery version = 2.1.1 core 1.1.0.1
PHP version = 4.4.1 apache
Webserver = Apache/1.3.34 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.4.1 FrontPage/5.0.2.2635 mod_ssl/2.8.25 OpenSSL/0.9.7a
Database = mysqlt 4.1.18-standard, lock.system=flock
Toolkits = ImageMagick, Gd
Acceleration = none, none
Operating system = Linux server3.tanservers.com 2.6.9-11.EL #1 Wed Jun 8 16:59:52 CDT 2005 i686
Default theme = siriux
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3

delFUEGO Producciones

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2006-05-22 05:27

looking at your source you have:
.gallery-album { height: 210px; } in the "inline css".
change that to 150 and you shold be good to go.

I don't use Siriux so don't know how you added that the the file.
the other option is to add a !important to the theme.css:

.gallery-album {
	width: 46%; /* Change to 96% if you want 1 Album per line */
	height: 150px !important;
	padding-right: 3%;
	display: block;
	float: left;
	overflow: hidden;
}

Dave

 
delFUEGO
delFUEGO's picture

Joined: 2006-05-16
Posts: 3
Posted: Mon, 2006-05-22 06:10

THAAAAAAAAAANKS! Stupid inline properties. Ive added the !important to the .css file and it works lovelly. This is what I have in the template...

    <style type="text/css">
	.content {ldelim} width: {$theme.params.contentWidth}px; {rdelim}
	{if !empty($theme.params.thumbnailSize)}
	  {assign var="thumbCellSize" value=$theme.params.thumbnailSize+30}
	  .gallery-thumb {ldelim} width: {$thumbCellSize}px; height: {$thumbCellSize}px; {rdelim}
	  .gallery-album {ldelim} height: {$thumbCellSize+30}px; {rdelim}
	{/if}
    </style>

...so, I guess in a normal theme you should be able to change the height via the theme admin menu, but thats not true in Siriux, where you can only change the total width of the gallery.

Again, thank you very much floridave, that was exactly what I was looking for.

PS: Stupid stupid inline properties.

delFUEGO Producciones

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2006-05-22 16:30
delFUEGO wrote:
THAAAAAAAAAANKS! Stupid inline properties.

Your welcome. They stump me sometimes as well.