Hi,
Using Bootstrap Darkroom Theme. When site is displayed on mobile or narrow browser on computer, the menu "shrinks" to the hamburger icon. This is fine for the main menu, but now I have two hamburger icons. Looks like a secondary navbar that lets you choose between grid view and list view. I think this is not good for UI to have two identical buttons that do different jobs. The secondary button is not even functional before login in to the site.
Is it possible to disable this grid view/list view menu?
Thanks
Last edited by jungeljoe (2022-12-01 11:11:46)
Offline
mulanee wrote:
Thème Bootswatch cyborg
This green border in the main page.
I have tested this skin, but I don't have a green border appear. I can only assume you already have custom CSS in your localFilesEditor on the <div id="content">, this div seems to correspond to the block where you want the border. look for #content in your localFilesEditor, hopefully you find something.
Otherwise you need to look using your browser, at which div has the specific CSS for this green border.
Offline
jungeljoe wrote:
I think this is not good for UI to have two identical buttons that do different jobs.
Thank you for your input, we will keep this in mind for futur edits
Offline
hannah wrote:
mulanee wrote:
Thème Bootswatch cyborg
This green border in the main page.I have tested this skin, but I don't have a green border appear. I can only assume you already have custom CSS in your localFilesEditor on the <div id="content">, this div seems to correspond to the block where you want the border. look for #content in your localFilesEditor, hopefully you find something.
Otherwise you need to look using your browser, at which div has the specific CSS for this green border.
Thank you, it was this issue.
Offline
When the image has no description set, the alt text for the image will be "<Title> - <Filename>".
Is it somehow possible to configure the theme or piwigo to only show the title and not the original filename?
Offline
I've done it with Modus, but haven't been able to reproduce it with Bootstrap.
Offline
I see, thanks. I guess the problem is, that it is hardcoded:
title="{if isset($COMMENT_IMG)}{$COMMENT_IMG|@strip_tags:false|@replace:'"':' '}{else}{$current.TITLE_ESC} - {$ALT_IMG}{/if}"
in https://github.com/Piwigo/piwigo-bootst … nt.tpl#L24
I noticed there is also an open feature request: [Github] piwigo-bootstrap-darkroom issue #223
The ALT_IMG variable is set by piwigo: https://github.com/Piwigo/Piwigo/blob/6 … e.php#L198
Thus, there are two options: 1) Piwigo allows for setting the ALT_IMG variable in a sensible way or 2) The template allows for setting another alt text.
A workaround is to set the description for each image, for example to the title.
Offline
Hi. Can you please tell me how to make it in one line?
https://disk.yandex.ru/i/rdhRbAKINft_Xw
Offline