-
AuthorPosts
-
nemuelcruz Friend
nemuelcruz
- Join date:
- November 2006
- Posts:
- 9
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
August 31, 2011 at 1:03 am #168010Hello,
I need to change my ja_travel theme to a 3 column layout.
Left – Content – Right
Attached is the desired layout.
Thanks in advance!
himangi Friendhimangi
- Join date:
- April 2011
- Posts:
- 1406
- Downloads:
- 1
- Uploads:
- 86
- Thanks:
- 21
- Thanked:
- 345 times in 332 posts
August 31, 2011 at 5:37 am #409751Hi,
- Please login in your site admin and go to Extensions > Template Manager > Ja Travel > Layouts Tab.
- Click on the Edit link in front of Default layout
- Find the following code
- Replace the above code with the following
- Save the layout and check in frontend.
<blockquote><block name=”left-mass-top”>left-mass-top</block>
<block name=”left1″>left</block>
<block name=”left2″>right</block></blockquote><blockquote> <block name=”left1″>left</block>
<block name=”right1″>right</block></blockquote>2 users say Thank You to himangi for this useful post
nemuelcruz Friendnemuelcruz
- Join date:
- November 2006
- Posts:
- 9
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
August 31, 2011 at 5:55 am #409754Thank you very, very much! it worked perfectly!
🙂
November 2, 2011 at 5:00 am #422877Can you help me ,Where we can set the width and height for Left and Right Block positions?
himangi Friendhimangi
- Join date:
- April 2011
- Posts:
- 1406
- Downloads:
- 1
- Uploads:
- 86
- Thanks:
- 21
- Thanked:
- 345 times in 332 posts
November 2, 2011 at 5:45 am #422887Hi
Heights of the Left and right blocks will be decided automatically, depending on the length of the content on the middle block. You can define widths of the columns as below.
Say you have columns defined in layout as below
<blockquote><blocks name=”middle” colwidth=”20″ fixheight=”1″>
<block name=”left1″>left</block>
<block name=”right1″>right</block>
</blocks></blockquote>
In this case, both your left and right columns will take 20% width each, of the available 100% width of the template, which means your main content block will take remaining 60% width.If you want to specify a custom width for say column left, then the above code can be modified as below
<blockquote><blocks name=”middle” colwidth=”20″ fixheight=”1″>
<block name=”left1″ width=”25″>left</block>
<block name=”right1″>right</block>
</blocks></blockquote>
Now in this case, your right column will take 20% width of the available width and left column will take 25% of width leaving main content block with remaining 55% width.Hope this fulfills your requirement. For any more details on layouting options, you can check http://wiki.joomlart.com/wiki/JA_T3_Framework_2/Guides#Column_general_width as well.
1 user says Thank You to himangi for this useful post
November 2, 2011 at 5:59 am #422894Thank you very much…
AuthorPostsViewing 6 posts - 1 through 6 (of 6 total)This topic contains 6 replies, has 3 voices, and was last updated by infosource 13 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum
How to change Layout to have 3 columns?
Viewing 6 posts - 1 through 6 (of 6 total)