-
AuthorPosts
-
drago1147 Friend
drago1147
- Join date:
- February 2011
- Posts:
- 17
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 2 times in 1 posts
November 21, 2013 at 3:10 pm #192446Hello,
I can’t seem to figure out how to switch to grid coloumns that use %’s instead of pixels.
When I look through the template less files I see that all the calculations for fluid grid are in place, and in the compiled css files there is a fluid grid present.
How does one switch from px grid to % grid ? Is there an option in t3 that allows me to switch between the two or I have to edit the less files?
Kind regards,
Drago.TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
November 21, 2013 at 5:24 pm #513037Have you tried reading through the T3 FRAMEWORK DOCUMENTATION ??
drago1147 Frienddrago1147
- Join date:
- February 2011
- Posts:
- 17
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 2 times in 1 posts
November 21, 2013 at 6:53 pm #513046Hi Tom,
Yes, I have gone through the documentation beforehand.
The only piece of information regarding the grid, I found under “customization”. However it details only how I can change the width of the template. Quite a straight forward process but it doesn’t give clues on how to switch to fluid grid.
Please point me to the location in the documentation if I have missed it, I really don’t mind reading.
Thanks, for your quick response.
Kind regards,
Drago.
Wall Crasher DeveloperWall Crasher
- Join date:
- December 2011
- Posts:
- 1113
- Downloads:
- 0
- Uploads:
- 15
- Thanks:
- 66
- Thanked:
- 361 times in 300 posts
November 22, 2013 at 6:53 am #513106Hi Drago,
T3 is based on bootstrap.
Here is the grid system document: http://getbootstrap.com/2.3.2/scaffolding.htmlIn short, please use row-fluid, all “span” classes will be in % value.
Regards
drago1147 Frienddrago1147
- Join date:
- February 2011
- Posts:
- 17
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 2
- Thanked:
- 2 times in 1 posts
November 22, 2013 at 11:28 am #513140Ok, I figured it out.
If anybody wants to switch from fixed grid to fluid here is my solution.
The Joomlart team has done the work for us, however as of now there isn’t a one click solution (at least I did not find one).
The t3_blank template uses a fixed grid by default.
You can easily switch to fluid grid by changing the css class=”row” to class=”row-fluid”. You have to make this change for all blocks that you use for the structure of your t3_blank.
The blocks are located within the “tpls” folder in t3_blank.
I’d suggest you make your own blocks and copy the code from the originals, since it is likely that if you update your t3_blank in the future the changes will get overriden. Once you create your own custom blocks, create a custom layout file and include your blocks there.
If you look at the original layout files you’ll see how to do it.
And this is it.
I’d be happy if some of the more experienced users of T3 review this thread and hopefully correct me if I am giving wrong advice.
Thanks,
Kind regards,
D. Hristov.
1 user says Thank You to drago1147 for this useful post
-
AuthorPosts
This topic contains 5 replies, has 3 voices, and was last updated by drago1147 11 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum