Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
laxina
Experienced
Topic Author
Posts: 48
Joined: 16 Mar 2017, 21:41

gap of the gallery

02 May 2017, 05:00

Hi again, sorry, I have a question about the gap around the gallery, please check out the two attachments, there are gaps, and I can't find out where to set it to zero. 

the top image:  there is a gap under the slideshow gallery. 

the bottom image: there is a gap between the top "background image" and the gallery 


thanks

Leon
Attachments
gap2.jpg
gap2.jpg (441.89 KiB) Viewed 1988 times
gap1.jpg
gap1.jpg (417.2 KiB) Viewed 1988 times
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: gap of the gallery

02 May 2017, 10:16

I am not sure what that grey line is in the first screenshot, perhaps just an artifact of the screenshot ... there should not be any grey lines there ... As for the gaps, there is always a healthy margins between the "top" section (intro or not), and the content that flows below it. There are not panel settings for this.

Margins WITH title/description:
Image

Margins without title/description:
Image

The only way to remove natural margins, would be to add custom CSS ... You can globally remove the padding with the below CSS. Keep in mind, it will affect all pages. If you only want to remove the margin for some pages, we would have to create a custom class instead, and you would need to assign it on a per-page basis.
Code
main.main {
  padding: 0 !important;
}
 
User avatar
laxina
Experienced
Topic Author
Posts: 48
Joined: 16 Mar 2017, 21:41

Re: gap of the gallery

02 May 2017, 21:43

thank you very much , let me have a try :)