Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3486800
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T11:04:25+00:00 2026-05-18T11:04:25+00:00

I’m trying to figure out how to use the lessframework for building a 2

  • 0

I’m trying to figure out how to use the lessframework for building a 2 – 3 column grid, but how to get started?

In the CSS code it says:

13-column layout
60 px columns, 24 px gutters, 72 px margins, 1212 px total (extra space for scrollbars)

On http://lessframework.com/ it says 8 cols for older browsers and 13 for desktops… so do I add the column grid inside the @media only screen and (min-width: 1212px) media query (or add it to a different css file).

I’ve tried to find some examples but haven’t found anything valuable yet.

UPDATE:

After having read the answer from David Oliver I will try to answer question:

  • 320: 1 col
  • 480: 1 col
  • 768: 2 col
  • 1280: 3 col

I hope this answers the question.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T11:04:26+00:00Added an answer on May 18, 2026 at 11:04 am

    From my look at the framework, I believe the idea would be to insert your own column CSS based on the numbers provided in the CSS comments into the relevant media queried sections of the CSS file. Unlike some other CSS column frameworks, you don’t apply predefined class names to divs, but, rather, insert your own selectors into the starting CSS file as necessary.

    However, as mentioned, this approach doesn’t work for mobile devices that aren’t capable of dealing with media queries as the default assumes a viewport width of 768px or greater. I believe this approach is better: Rethinking the Mobile Web. Also see Notes on designing for mobile phones (even if they’re not made by Apple)

    So you could do something like:

    // Stylesheet to set base styles for all browsers - mobile-friendly:
    <link rel="stylesheet" type="text/css" href="css/base.css" />
    
    // Stylesheet to set additional styles including background images not suitable for mobiles and the multi-column layout for browsers being used at viewports of 700px (allows for scrollbar at within 768) and wider:
    <link rel="stylesheet" type="text/css" href="css/desktop.css" media="only all and (min-device-width: 700px)" />  
    
    // Stylesheet to set multi-column layout for browsers being used at viewports of 1200px (allows for scrollbar at within 1280) and wider:
    <link rel="stylesheet" type="text/css" href="css/desktop-wide.css" media="only all and (min-device-width: 1200px)" />
    

    In base.css you wouldn’t define columns and leave everything to flow naturally.

    In desktop.css, for the three areas of content you could have something like:

    div#wrapper { width: 94%; margin: 0 auto; }
    div#nav { width: 30%; float: left; }
    div#content { width: 70%; float: left; }
    div#extra { clear: both; }
    

    In desktop-wide.css, you could have something like:

    div#nav { width: 20%; }
    div#content { width: 60%; }
    div#extra { width: 20%; clear: none; float: left; }
    

    These percentages aren’t necessarily realistic as you’d have padding or margins, but hopefully they show the idea.

    I plan to write up a comprehensive method at my wiki sometime soon, in case you wish to check back later.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I am trying to understand how to use SyndicationItem to display feed which is
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
Basically, what I'm trying to create is a page of div tags, each has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
this is what i have right now Drawing an RSS feed into the php,
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.