From 206616a109e058d9da4d78abf74785f1f9643169 Mon Sep 17 00:00:00 2001 From: Pavel Reznikov Date: Sun, 4 Jan 2015 20:35:33 -0800 Subject: [PATCH] update 'change grid width' section --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a48ce03..84708d2 100644 --- a/README.md +++ b/README.md @@ -306,10 +306,10 @@ and HTML: ## Change grid width -To addition to `width` option, CSS rules for `.grid-stack-item[data-gs-width="X"]` and -`.grid-stack-item[data-gs-x="X"]` have to be changed accordingly (see #38). +To change grid width (columns count), to addition to `width` option, CSS rules +for `.grid-stack-item[data-gs-width="X"]` and `.grid-stack-item[data-gs-x="X"]` have to be changed accordingly. -For 3-column grid you need to rewrite CSS to be: +For instance for 3-column grid you need to rewrite CSS to be: ```css .grid-stack-item[data-gs-width="3"] { width: 100% } @@ -333,6 +333,8 @@ For 4-column grid it should be: .grid-stack-item[data-gs-x="1"] { left: 25% } ``` +and so on. + Changes =======