I have been corresponding with Pierrick and he suggested I ask these questions here on the forum, in case other Piwigo beginners might profit from them. So you experienced users please forgive the flagrant display of ignorance.
Note that I do not know CSS or any other modern coding, only some ancient HTML, even so, I managed to guess and edit a few things which worked. A few things I haven't been able to do are:
1) How to remove the Piwigo link from the photo pages. (I am happy to leave it on the home page however.)
2) How to add more rows to the album thumbnail pages. I have looked through every menu I could find but haven't found a way to add more, and don't have the coding skills to know how to do it.
3) How to remove the number of photos listed after the album title at the top of the album pages. For instance "Home / Album Title / {84}"
Thanks,
Bob
www.bdrak.com
Last edited by Bob Drake (2015-02-18 17:37:31)
Offline
Hi Bob,
http://www.bdrak.com/photos
Bob Drake wrote:
1) How to remove the Piwigo link from the photo pages. (I am happy to leave it on the home page however.)
For your theme Stripped, activate plugin LocalFiles Editor, then go to [Administration > Plugins > LocalFiles Editor], tab "CSS", add:
#copyright {display:none}Bob Drake wrote:
2) How to add more rows to the album thumbnail pages.
Still in LocalFiles Editor, CSS :
#the_page {max-width:none;}
#content {max-width:none;}
#thumbnails_block1 {max-width:none !important;}
#thumbnails_block2 {max-width:none !important;}With that you will have a full width page, and as many thumbnails per row as possible.
Bob Drake wrote:
3) How to remove the number of photos listed after the album title at the top of the album pages. For instance "Home / Album Title / {84}"
Not easy, there is no CSS class on it :-/ Let me see...
Offline
I've done what you described, but still have only three rows of thumbnails on the page, with everything shifted towards the left. The width of the pages was good before, but I'd like 4 rows of thumbnails rather than three.
Thanks!
Bob
Offline
If you want more rows (and not more thumbnails per row, as I thought), you just have to have more thumbnails per page.
In your local configuration (with plugin LocalFiles Editor), add:
$stripped['maxThumb']
Offline
Yes perhaps I wasn't clear: I'd like the 5 columns, but 4 rows.
I tried the text you told me to use in the local files editor, but when I click "save" it says:
"Syntax error! File can't be saved."
Bob
Offline
The local config must look like:
<?php $stripped['maxThumb'] = 20; // 5 columns x 4 rows ?>
Then you must adjust the max-width to fit 5 columns.
Offline
Yes perfect, thanks! Very grateful for your patience. This is a great way to learn.
Bob
Offline