Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
Joseph_balson
Experienced
Topic Author
Posts: 73
Joined: 08 Mar 2021, 05:35

making space between folders in folder view just a bit shorter?

16 Mar 2021, 15:34

When folders are set to vertical layout, no split view, is it possible to make the space between the folders a little bit shorter?
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13993
Joined: 30 Sep 2006, 03:37

Re: making space between folders in folder view just a bit shorter?

16 Mar 2021, 22:50

Do you have a link? I can't always answer these questions without knowing what is creating the space. For example, in the default vertical layout, there is a <hr> (horizontal rule) which is basically creating the space. The "horizontal rule" can be disabled from your vertical layout settings, but then default margin is added instead, in which case you would need to add the following to Settings > Custom > Custom CSS:
Code
.layout-vertical .item {
  margin-bottom: 5px !important;
}
The above would affect vertical layout on all pages. If you only want to affect the current page, instead add it into page settings > Page > Advanced > Page CSS. Also, keep in mind that margins are normally assigned adjust slightly on across different screen sizes, which will be ignored if you set it as per above.
 
User avatar
Joseph_balson
Experienced
Topic Author
Posts: 73
Joined: 08 Mar 2021, 05:35

Re: making space between folders in folder view just a bit shorter?

17 Mar 2021, 02:50

well thanks, that is just perfect. Only needed it on my home page