Search…

X3 Photo Gallery Support Forums

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

page bottom margin

16 May 2017, 09:27

Hi Karl

sorry again, a simple question, where or how can I set up the margin at the bottom of the page? 

thanks

Leon
Attachments
gap.jpg
gap.jpg (153.47 KiB) Viewed 2553 times
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: page bottom margin

16 May 2017, 09:47

This is part of global margins (breathing space) that follows ALL modules in X3. You can remove the margin below the gallery module by adding the following to settings > custom > custom CSS:
Code
.gallery {
  margin-bottom: 0 !important;
}
Of course, this will affect the gallery module on ALL pages. If you want to remove the margin below the gallery on only SOME pages, you would need to create a custom class, and assign the class on a per-page basis.
 
User avatar
laxina
Experienced
Topic Author
Posts: 48
Joined: 16 Mar 2017, 21:41

Re: page bottom margin

16 May 2017, 09:56

thank you so much for the quick reply. i added the code to Custom CSS, and saved, but nothing happened.  any mistake over here?

sorry 
Attachments
btw.jpg
btw.jpg (86.71 KiB) Viewed 2548 times
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: page bottom margin

16 May 2017, 11:48

Should work. Do you have a link? Can you navigate away from settings, then back to settings > Custom > custom CSS, and check that the CSS class got saved?
 
User avatar
laxina
Experienced
Topic Author
Posts: 48
Joined: 16 Mar 2017, 21:41

Re: page bottom margin

17 May 2017, 03:00

it's saved, and I have sent the link with account via private message , thanks a lot. 
 
User avatar
laxina
Experienced
Topic Author
Posts: 48
Joined: 16 Mar 2017, 21:41

Re: page bottom margin

17 May 2017, 03:46

sorry, i forgot mention, the bottom image is a image , instead of a gallery.
Attachments
ga1p.jpg
ga1p.jpg (30.19 KiB) Viewed 2537 times
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13998
Joined: 30 Sep 2006, 03:37

Re: page bottom margin

17 May 2017, 09:48

laxina wrote:sorry, i forgot mention, the bottom image is a image , instead of a gallery.
... and what is the link to that page from your screenshot? I can't find it. Sounds like you should be applying the custom css to .context instead of .gallery.

The custom CSS to remove the space below the gallery is clearly working:
Image
 
User avatar
laxina
Experienced
Topic Author
Posts: 48
Joined: 16 Mar 2017, 21:41

Re: page bottom margin

17 May 2017, 10:04

great,   .context works great , thanks a lot