Announcement

  •  » Themes
  •  » [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

#526 2022-12-01 11:10:13

jungeljoe
Member
2022-05-28
10

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

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

 

#527 2022-12-05 08:35:53

hannah
Piwigo Team
2019-04-24
58

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

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

 

#528 2022-12-05 08:42:20

hannah
Piwigo Team
2019-04-24
58

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

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

 

#529 2022-12-18 10:15:14

mulanee
Member
2006-11-25
38

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

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

 

#530 2023-09-05 19:09:00

reox
Member
2023-03-06
18

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

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

 

#531 2023-09-05 22:33:47

Katryne
Member
2016-12-03
401

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

I've done it with Modus, but haven't been able to reproduce it with Bootstrap.


https://album.chauvigne.info/ v.13.8.0 - https://balades.comoni.org/ v.14.5.0
Système d'exploitation: Linux - Hébergeur 1&1-Ionos PHP: 8.1.29 - MySQL: 5.7.38
Bibliothèque graphique: External ImageMagick 6.9.10-23

Offline

 

#532 2023-09-06 08:16:13

reox
Member
2023-03-06
18

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

I see, thanks. I guess the problem is, that it is hardcoded:

Code:

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

 

#533 2023-09-25 19:43:11

Ewgeniy
Member
2023-07-08
21

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Hi. Can you please tell me how to make it in one line?

https://disk.yandex.ru/i/rdhRbAKINft_Xw

Offline

 
  •  » Themes
  •  » [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact