Page 1 of 1

Make Grid float to bottom of screen

Posted: Tue Mar 26, 2013 7:54 pm
by Tommy B

I would like to be able to make a grid position itself to the bottom of the screen. I am sure this can be accomplished with CSS.

Does anyone have a hint they could share?


Make Grid float to bottom of screen

Posted: Tue Mar 26, 2013 9:54 pm
by maxkatz

Do you want the grid always be positioned at the end of the screen -- as you scroll down?


Make Grid float to bottom of screen

Posted: Tue Mar 26, 2013 10:00 pm
by Kateryna Grynko

Hi,

Here is one way to do it.

In Grid properties, field Class name write "bottomGrid".
Then create CSS asset with the following code:
code.bottomGrid { position:absolute; bottom: 32px; }/code
32px is Footer height. If there are buttons or navbar in footer then change the value to a real footer height.


Make Grid float to bottom of screen

Posted: Tue Mar 26, 2013 10:01 pm
by Tommy B

yes please.


Make Grid float to bottom of screen

Posted: Tue Mar 26, 2013 10:55 pm
by Tommy B

Ok...now i feel dumb. Sorry to waste your time.


Make Grid float to bottom of screen

Posted: Tue Mar 26, 2013 11:28 pm
by Tommy B

Just an update. I needed to also set the left margin to get the grid to stop over-sizing my mobile screen and also set the bottom margin of the element just above the footer to 20 and reduce the grid size to 98% so that the elements did not overlap.


Make Grid float to bottom of screen

Posted: Wed Mar 27, 2013 8:26 am
by Maryna Brodina

Hello! Use next CSS:

code.bottomGrid {
position:absolute;
bottom: 32px;
margin: 0 0 20px 0 !important;
width: 98% !important;
}/code


Make Grid float to bottom of screen

Posted: Tue Feb 03, 2015 9:24 am
by Murali

hi Maryna,

I am trying to place a grid at the bottom of the screen. My screen does not have a footer. When I use any of the methods (CSS) descried in the forum to do that, the width of the grid increases.

If you place a grid on the screen and make one of the rows opaque (background transparent: false) and try using the CSS method to fix the grid to the bottom of the screen, you will notice that grid width will change. How to fix the grid to the bottom of the screen without any changes to the grid width?


Make Grid float to bottom of screen

Posted: Tue Feb 03, 2015 11:11 am
by Evgene Karachevtsev

Murali,

Please try:
preposition relative;
bottom: 5px;/pre