-
AuthorPosts
-
February 28, 2013 at 7:22 am #185384
I am new to T3v3 framework and I am creating a Joomla 3 template for a school competition.
The problem I am facing is that the I am unable to resize any block in mainbody position using responsive layout tab in the template manager.
Why is resizing disabled for all the blocks in mainbody position? Is there a wayaround by modifying .less file?
I am using WAMP, Joomla 3.0.3, T3v3 1.1.0,Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
March 1, 2013 at 9:41 am #485005You can resize mainbody position on your template by css
Open templates/ja_your_template/css/custom.css file
and add new script
#ja-content {
width: 600px;
}About more and more customize you can go to this file here
<blockquote>templates/ja_your_template/tpls/blocks/mainbody.php</blockquote>
1 user says Thank You to Ninja Lead for this useful post
March 1, 2013 at 11:19 am #485020Thanks for your reply. But which file should be edited to make this responsive?
Also changing of all the individual blocks in mainbody position is disabled (like sidebar-a has same width as component block) can the ability to modify them be added in the next release.troponin Friendtroponin
- Join date:
- March 2007
- Posts:
- 21
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 4
- Thanked:
- 2 times in 1 posts
March 1, 2013 at 2:25 pm #485030<em>@ypamecha 362414 wrote:</em><blockquote>Thanks for your reply. But which file should be edited to make this responsive?
Also changing of all the individual blocks in mainbody position is disabled (like sidebar-a has same width as component block) can the ability to modify them be added in the next release.</blockquote>Hey,
e.g. you can edit tpls/blocks/co6_mainbody-content-left.php if you are using Conten Left Block.
Just edit this Code :
[PHP] // Layout configuration
$layout_config = json_decode (‘{
“two_sidebars”: {
“default” : [ “span6” , “span6” , “span3” , “span3” ],
“wide” : [],
“xtablet” : [ “span8” , “span4” , “span4” , “span4 spanfirst” ],
“tablet” : [ “span12” , “span12 spanfirst” , “span6” , “span6” ]
},
“one_sidebar”: {
“default” : [ “span9” , “span3” , “span3” ],
“wide” : [],
“xtablet” : [ “span8” , “span4” , “span4” ],
“tablet” : [ “span12” , “span12 spanfirst” , “span12” ]
},
“no_sidebar”: {
“default” : [ “span12” ]
}
}’);
[/PHP]Make span like you need it.
1 user says Thank You to troponin for this useful post
-
AuthorPosts
This topic contains 4 replies, has 3 voices, and was last updated by troponin 11 years, 9 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum