| Page 1 of 1 | [ 5 posts ] |
|
Within the Grid Builder the Left Sidebar widths are: 168, 180 and 300.
Is there a way that I can specify a custom width? the jump from 180 to 300 is going to throw off my design. Thank you. |
|
There are only 3 sidebar sizes in this version of grids. If you want a different size, you will have to hand code the CSS yourself..
|
|
So there's no way of just slightly modifying the current css? I mean, all I want is the sidebar left to be a little wider. Instead of 180 or 300, I want 225px.
You're telling me that I have to ditch the entire grid structure if I want to accomplish this? |
|
Assuming you are using the t2 layout, this should do it:
Code: .yui-t2 #yui-main .yui-b { margin-left: 225px; /* plus any "gutter" */ } .yui-t2 .yui-b { width: 225px; } You may want to check out the new version of grids that is available with our 3.2.0 pr1 release: http://yuiblog.com/sandbox/yui/3.2.0pr1 ... fixed.html Extending and customizing grids is now much easier. I'm thinking the code for your layout would look something like: http://gist.github.com/492969 |
|
Thanks for that reply... that is massively helpful.
I did something similar... I just manipulated the margin of the main body section... your way is probably cleaner. Thanks again. |
| Page 1 of 1 | [ 5 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group