Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBruno Dias
10,554 PointsHelp on Skeleton grid
Hi,
I am building a template using Skeleton and for this project I need the content area to be 720px and sidebar 300px because of the ads.
The container of the layout is 1160px total with padding-left of 45px left and right.
The way I am doing is: I have to get the skeleton.css file and convert percentage units to pixels so I have changed the classes:
.twelve.columns {width: 1070px;} --> note that I am taking out the left and right padding: 1160px - 45px - 45px = 1070px .eight.columns {width: 720px;} --> this is the content section .four.columns {width: 300px;} --> this is the sidebar section
The columns should have a distance of 40px between each other.
I am not sure how to calculate the other classes. As I know the skeleton grid has twelve columns so how to recalculate the width of other classes?
Any idea?