Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjustments for 6 columns #10

Open
Hozey opened this issue Jul 7, 2014 · 2 comments
Open

Adjustments for 6 columns #10

Hozey opened this issue Jul 7, 2014 · 2 comments

Comments

@Hozey
Copy link

Hozey commented Jul 7, 2014

Thanks for sharing the Simpliste template. Could you please tell me how I can add code to the style sheet to set 6 columns? I tried adding the following, but couldn’t get it to work.

/* Columns
———
.col_16.6666 | .col_16.6666 | .col_16.6666 | .col_16.6666 | .col_16.6666 | .col_16.6666
.clearfix
———

*/
.col_16.6666 {
width:14.6666%;
margin:0 2% 0 0;
float:left;
}

.col_16.6666.wrap { width:16.6666%; margin:0;}

@media only screen and (max-width:768px) { /* Tablet */
.col_16.5,

Any suggestions will be appreciated.

@selfthinker
Copy link

Periods are invalid in CSS classes, so you would need to name it e.g. .col_16.

Another way to have 6 columns with the existing code is to nest 3 .col_33 each in 2 .col_50.

@rafikov
Copy link
Owner

rafikov commented Apr 6, 2015

@selfthinker Thanks for your comment! I answered to the author of the question by email and just forgot to duplicate the answer here.

Hope it will help somebody else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants