•  » Themes
  •  » [resolved] Bootstrap Darkroom Questions

#1 2023-02-18 22:43:52

gx06dyw
Member
2023-02-18
1

[resolved] Bootstrap Darkroom Questions

Hello/Hi/Greetings,

Can anyone tell me how to add a login box to the homepage of Bootstrap Darkroom and the arrow down button like in Demo4

Piwigo URL: ***

Offline

 

#2 2023-02-21 08:26:20

hannah
Piwigo Team
2019-04-24
80

Re: [resolved] Bootstrap Darkroom Questions

Hi,

To achieve the same effect as the demo4 gallery you need to add this to Cofiguration> Options > Page banner

Code:

<form class="" method="post" action="identification.php" id="quickconnect">
  <input class="form-control" type="text" name="username" id="username" value="" placeholder="Username">
  <input class="form-control" type="password" name="password" id="password" placeholder="Password">
  <button type="submit" class="btn btn-primary btn-raised" name="login">Sign in</button>
</form>

</div> <!-- it'a trick to close #theHeader, so that next div can be position:absolute bottom -->

<div class="browse-down">
<a href="#content" class="fa fa-arrow-circle-down" aria-hidden="true"></a>

and then in the localFilesEditor plugin you need this

Code:

#theHeader .form-control {
    width: 237px;
    display: inline-block;
    margin:0 5px;
}
.form-control {
    padding: 0.75em;
}
#theHeader .btn {
    margin-top: -2px;
}
.browse-down {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding-bottom: 10px;
  font-size: 50px;
}
.browse-down a {
  color: #fff;
  text-shadow: 0 0 15px black;
}
.browse-down a:hover {
  text-decoration:none !important;
}

This subject was also discussed here : https://piwigo.org/forum/viewtopic.php?id=32472

Offline

 

#3 2025-06-20 21:01:16

Filmrausch
Member
2025-06-20
2

Re: [resolved] Bootstrap Darkroom Questions

Thanks for the hints, but I am still having a problem though. The arrow won't disappear when I scroll down.

I have triple-checked all code-snippets, I have even integrated the login in the center of the screen to keep the code identical. I have compared the source codes of Demo 4 and my webpage and they are absolutely identical for the code parts in question. I have also checked the CSS files and they are also identical but the arrow stays all the time.

What am I missing?

Offline

 

#4 2025-06-22 23:43:42

Filmrausch
Member
2025-06-20
2

Re: [resolved] Bootstrap Darkroom Questions

I have noticed that on the search results page the arrow disappears as it should. Any idea anybody?

Offline

 

#5 2025-08-04 08:22:01

StifflersMoM
Member
2018-06-16
10

Re: [resolved] Bootstrap Darkroom Questions

Hi!

Is it possible, that the login in the banner make to disappear after login has succeded? Only the drop down navbar should be visible after login

Offline

 
  •  » Themes
  •  » [resolved] Bootstrap Darkroom Questions

Board footer

Powered by FluxBB

github linkedin newsletter Piwigo.org © 2002-2026 · Contact