Page 1 of 1

page bottom margin

Posted: 16 May 2017, 09:27
by laxina
Hi Karl

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

thanks

Leon

Re: page bottom margin

Posted: 16 May 2017, 09:47
by mjau-mjau
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.

Re: page bottom margin

Posted: 16 May 2017, 09:56
by laxina
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 

Re: page bottom margin

Posted: 16 May 2017, 11:48
by mjau-mjau
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?

Re: page bottom margin

Posted: 17 May 2017, 03:00
by laxina
it's saved, and I have sent the link with account via private message , thanks a lot. 

Re: page bottom margin

Posted: 17 May 2017, 03:46
by laxina
sorry, i forgot mention, the bottom image is a image , instead of a gallery.

Re: page bottom margin

Posted: 17 May 2017, 09:48
by mjau-mjau
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

Re: page bottom margin

Posted: 17 May 2017, 10:04
by laxina
great,   .context works great , thanks a lot