[SOLVED] Something to adjust in my theme

rocsca
rocsca's picture

Joined: 2009-05-12
Posts: 47
Posted: Thu, 2009-10-01 13:40

Hello,

I have followed the instruction to customize the theme and I get something close to that I really want. You can see the theme following the link:

http - colon+double slash - www.rocsca.it/gallery2/

Nome utente: test
Password: test

I can't solve the following defects:

1) The tree menu appear divided in two parts:
1. The title of my gallery (out of range of 700 pixel for my web page) on the right.
2. The rest of the menu appears (correctly) at the bottom of the space dedicated to the tumbs of the current album.
Is it possible to do so that the tree appears enetely at the bottom of the space for the thumbnails?

2) The grid of the thumbs is not regular. I would like that it forms a regular matrix with 6 rows and 4 culumns ([i]I have specified 24 thumbs for page in the settings) and that the matrix is filled from the top row to the bottom and from the left culumn to the right.

3) The tree menu doesn't work at all in FF. [i]In FF is displayed only the tithe of the gallery.

I have already installred the pluging of FF ('Web developer') But I really have understood where to start to inspect the code.

Could someone help me to solve this issue?

Thanks,

rocsca

Login or register to post comments
Another_Matt

Joined: 2009-08-20
Posts: 34
Posted: Thu, 2009-10-01 15:18

Ok, I'm a photographer - not a coder - but I think you need to open dtree.css and remove line 7. The white-space; nowrap seems to be affecting your album tree layout. I would also recommend downloading the Firebug plug in for FF. It helped me discover this error.

Login or register to post comments
rocsca
rocsca's picture

Joined: 2009-05-12
Posts: 47
Posted: Thu, 2009-10-01 18:21

Great!! Thank u so much!!

Any suggestion for the other issues?

rocsca

Login or register to post comments
Another_Matt

Joined: 2009-08-20
Posts: 34
Posted: Thu, 2009-10-01 23:48

There's only one photo in the test gallery so I can not see your grid problem.

Login or register to post comments
rocsca
rocsca's picture

Joined: 2009-05-12
Posts: 47
Posted: Fri, 2009-10-02 07:50

Please go to in "Sub Test" sub album. There I will find 5 photo, so you can have an evidence of the defect.

Thanks,

rocsca

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17314
Posted: Fri, 2009-10-02 13:31

the test user does not have permissions to go to that album

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
rocsca
rocsca's picture

Joined: 2009-05-12
Posts: 47
Posted: Fri, 2009-10-02 13:52

Maybe do you intend that test user do not have permission to update that album.. Otherwise test user can access to the 'Sub test' album. Please try again.

Login or register to post comments
Another_Matt

Joined: 2009-08-20
Posts: 34
Posted: Fri, 2009-10-02 14:53

Your grid is messed up because all the images have different ratios with varying heights. I'm not familiar with your theme so I can't tell you exactly what to do. I'm guessing you are uploading images that are smaller than Gallery's default thumbnail size which is giving you weird results. Try larger pictures.

Login or register to post comments
rocsca
rocsca's picture

Joined: 2009-05-12
Posts: 47
Posted: Fri, 2009-10-02 15:19

Thanks for you answer. But I don't think so. I have customized a theme (Siriux) exactly as is described in the online doc of G2. Siriux clearly does not have this defect. So I think it is just a CSS matter. But I m unable to point out the deefect neverthless to correct it.

Any help is apprecciated.

Thanks,

rocsca

Login or register to post comments
Another_Matt

Joined: 2009-08-20
Posts: 34
Posted: Fri, 2009-10-02 15:35

Your images are the problem- not the code. Here is your page with images of the same height. Good luck with the site.

AttachmentSize
site.jpg86.25 KB
Login or register to post comments
rocsca
rocsca's picture

Joined: 2009-05-12
Posts: 47
Posted: Fri, 2009-10-02 15:49

I'm not persuased.. Attacched there is the snapshot of the same album but with the Siriux theme applied instead.

AttachmentSize
siriux.jpg93.94 KB
Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17314
Posted: Fri, 2009-10-02 23:31

I am willing to help out but am not going to jump though hoops to find a album where I have to log in.
Post a link the the album and give the guest user permissions to view it.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
rocsca
rocsca's picture

Joined: 2009-05-12
Posts: 47
Posted: Sat, 2009-10-03 01:40

OK. I've done.. Test album (and its sub albums) is owned by guest user.

rocsca

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17314
Posted: Sat, 2009-10-03 02:33

And the url to this test album?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
rocsca
rocsca's picture

Joined: 2009-05-12
Posts: 47
Posted: Sat, 2009-10-03 08:10

Sorry for the delay..

http - <colon+double slash> - www.rocsca.it - <slash> - gallery2 - <slash> - main.php/v/test/subtest/

Login or register to post comments
floridave
floridave's picture

Joined: 2003-12-22
Posts: 17314
Posted: Sun, 2009-10-04 00:05

Something in your customization to the theme.css has made this change. I suspect that some float property or forcing the width.
See if you can go for less columns as a theme setting.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

Login or register to post comments
rocsca
rocsca's picture

Joined: 2009-05-12
Posts: 47
Posted: Mon, 2009-10-05 17:23

Thanks Dave for your precious hints.

I'm trying over and over since you gave me your latest suggestion, to align the thumbs of one album in a grid, using my customized theme. But without success. I have the following definition that should impact the grid:

/* -- Gallery thumbnails ------------------ */

.gallery-thumb {
margin: 5px;
float: left;
text-align: center;
}

.gallery-thumb img {
background-color: #f3f3f3;
border: 1px solid #ddd;
padding: 7px;
margin: 1px;
-moz-border-radius: 3px;
}

.gallery-thumb a img {
border-color: #ccc;
}

.gallery-thumb a:hover img {
border-width: 2px;
border-color: #38c;
margin: 0;
-moz-border-radius: 5px;
}

and

/* -- Gallery Items ----------------------- */

.gallery-items {
width: 100%;
font-size: 90%;
height: auto;
padding: 0px 0px 0px 20px;
margin: 0px -20px 0px 0px;
clear: both;
}

Which are quite similar to the corrispondent definition in original Siriux theme.

I really figure out where the problem is hide.

Thanks everyone for the help.

rocsca

Login or register to post comments
rocsca
rocsca's picture

Joined: 2009-05-12
Posts: 47
Posted: Wed, 2009-10-07 08:20

Hello!

using Web developer plugin of FF and a little effort of reason I have found the way to align images in a grid.. I realized that it missed some specification in '.gallery-thumb ' attribute for the dimension of a cell cointaing the image. Considering that the dimension of the greates hedge of an image specified in album administration settings, is 150px, then I redefine so '.gallery-thumb ' attribute:

.gallery-thumb {
height: 160px;
width: 160px;
margin: 10px;
float: left;
text-align: center;
}

and all appear as I aspect!

Thanks all!

rocsca

Login or register to post comments