Menu icon Foundation
Customising the max-width grid size?

Hi everyone

I am new to using foundation, and just finding my way around it at the moment. I am working on a project and it has a max-width of 1170px. I see that you can customise the grid with but the max-width size is in em. Is there a calculation to work out the max-width of 1170px in to em?

Thanks for any help :)

gridmax-widthempx

Hi everyone

I am new to using foundation, and just finding my way around it at the moment. I am working on a project and it has a max-width of 1170px. I see that you can customise the grid with but the max-width size is in em. Is there a calculation to work out the max-width of 1170px in to em?

Thanks for any help :)

Jami G almost 6 years ago

Give this a try:

http://pxtoem.com/

Scott James almost 6 years ago

Thanks for the link Jami G.

I have been reading a few articles, and found out that if I take the content size and divide it by 16, then I could work out my max-width.

Dave Sayer about 3 years ago

Thought it might be useful to add that the 16 comes from the baseline font size which is default at 16. If you change it to 15 or 18, you need to divide by that number to get your values.