Announcement

  •  » Themes
  •  » [resolved] Bootstrap Darkroom

#1 2022-05-10 23:18:35

sjgarth
Member
2022-04-29
2

[resolved] Bootstrap Darkroom

Hi,
I find the height of the hero section to be a bit too much.
Where is the css to limit the height to about half of what it is now?
Thanks in anticipation.

Offline

 

#2 2022-05-26 09:44:03

I_am_cats
Member
2022-04-14
27

Re: [resolved] Bootstrap Darkroom

Some general advices in cases like this:
Press F12 in your browser, then click on the element that is of interest, you will see the CSS rules.
I did, and couldn't find anything obvious (the whole hero header seems to be "height: 100%").
However, the Bootstrap Darkroom theme offers "Custom CSS" in its configuration, you can play with that.

Maybe this question would be better adressed to the theme developer(s).

Offline

 

#3 2022-05-26 13:14:37

Katryne
Member
2016-12-03
365

Re: [resolved] Bootstrap Darkroom

@sjgarth : what do you call hero section ? Can you give a link ?

@ I_am_cats

Maybe this question would be better adressed to the theme developer(s).

Thomas is dead. Bootstrap development has been taken over by the Piwigo team.

Last edited by Katryne (2022-05-26 13:15:15)


http://photos.katrynou.fr/ v.14.1.0 https://album.chauvigne.info/ v.13.8.0
Système d'exploitation: Linux - Hébergeur 1&1-Ionos PHP: 8.0.28 - MySQL: 5.7.38
Bibliothèque graphique: External ImageMagick 6.9.10-23

Offline

 

#4 2022-05-29 12:20:17

I_am_cats
Member
2022-04-14
27

Re: [resolved] Bootstrap Darkroom

Katryne wrote:

Thomas is dead. Bootstrap development has been taken over by the Piwigo team.

You mean in-real-life dead? :o
Sorry to hear that.
What is the correct link to a development repository then?

Offline

 

#5 2022-05-29 12:56:32

erAck
Only trying to help
2015-09-06
1998

Re: [resolved] Bootstrap Darkroom

You might have noticed that your tkuther link redirects to https://github.com/Piwigo/piwigo-bootstrap-darkroom


Running Piwigo at https://erack.net/gallery/

Offline

 

#6 2022-07-04 21:39:12

sjgarth
Member
2022-04-29
2

Re: [resolved] Bootstrap Darkroom

Sorry, I've been away.
Katryne - The Hero Header is the name of the header section of the display page, go to https://gallery.rblr.org.uk to see what I mean.
I_am_cats - I already raised a query on the github site for this theme.
My next job will be to trawl through the various css and see if I can find the relevant section, change it with the Custom CSS function, and hopefully it will not interfere with anything else.

Last edited by sjgarth (2022-07-04 21:40:36)

Offline

 

#7 2022-09-01 10:14:53

hannah
Piwigo Team
2019-04-24
56

Re: [resolved] Bootstrap Darkroom

Using the LocalFilesEditor plugin you can add this CSS to reduce the hero image by half

Code:

.page-header.page-header-small {
    height: 30vh;
}

Offline

 
  •  » Themes
  •  » [resolved] Bootstrap Darkroom

Board footer

Powered by FluxBB

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