-
AuthorPosts
-
bennyykh Friend
bennyykh
- Join date:
- March 2009
- Posts:
- 11
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 4
- Thanked:
- 3 times in 2 posts
November 29, 2009 at 4:07 am #146434Hi
I want to ask how to adjust left and right column width of this template.
I want to set left column width to 160px, and right column to 300px.Thanks
beastmode54 JA JobBoardbeastmode54
- Join date:
- November 2007
- Posts:
- 233
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 12
- Thanked:
- 20 times in 1 posts
November 30, 2009 at 5:38 pm #325304Yes, i have the same question. Ive done this hundreds of times with other templates, but it seems with the new template structure I am un able to find the correct chunk of code.
beastmode54 JA JobBoardbeastmode54
- Join date:
- November 2007
- Posts:
- 233
- Downloads:
- 0
- Uploads:
- 4
- Thanks:
- 12
- Thanked:
- 20 times in 1 posts
November 30, 2009 at 10:42 pm #325314looks like its in template/layout/blocks/ and which ever the right column is. Looks like it has its own .php file.
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
December 1, 2009 at 7:17 am #325348Hi bennyykh
– open templatesja_selenilayoutsblocksleft.php , find style=”width:<?php echo $l ?>%” and change to:
style=”width:160px”
– open templatesja_selenilayoutsblocksright.php , find style=”width:<?php echo $r ?>%” and change to:
style=”width:300px”
bennyykh Friendbennyykh
- Join date:
- March 2009
- Posts:
- 11
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 4
- Thanked:
- 3 times in 2 posts
December 1, 2009 at 11:40 am #325387<em>@JA Developer 155143 wrote:</em><blockquote>Hi bennyykh
– open templatesja_selenilayoutsblocksleft.php , find style=”width:<?php echo $l ?>%” and change to:
style=”width:160px”
– open templatesja_selenilayoutsblocksright.php , find style=”width:<?php echo $r ?>%” and change to:
style=”width:300px”</blockquote>
thanks, it worked 😉
but after I changed it, there is a lof of space between the left column and the main content…. (pls see the attact file space.jpg)
also, the right colume can’t fit into the position because it changed to 300px (bigger than the original one), pls see the attact file space2.jpg
can u help me to solve it, thanks a lot :-[
-
lamvt Friend
lamvt
- Join date:
- December 2006
- Posts:
- 265
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 52 times in 46 posts
December 1, 2009 at 1:48 pm #325402Hi bennyykh.
If you fixed your width collums, not good for you.
Pls use my ideas:
If you use your temlate width is 960px (check configurations of your config)
left is 160px right is 300px so main about 500px
left: 160/960= ~18%.
right: 300/960=~32%
main: so main is 50%Open yourtemplate: layouts/default.php Line 16: $this->_basewidth = 30;
Changes it to $this->_basewidth = 32;
Try to do it1 user says Thank You to lamvt for this useful post
bennyykh Friendbennyykh
- Join date:
- March 2009
- Posts:
- 11
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 4
- Thanked:
- 3 times in 2 posts
December 1, 2009 at 2:08 pm #325408yes, i also found it and it worked! 🙂
changed the following 2 files:
for right column: layouts/default.php >>>>> $this->_basewidth = 33.67;
for left column: layouts/left-content.php >>>>> $this->_basewidth = 18.82;lamvt Friendlamvt
- Join date:
- December 2006
- Posts:
- 265
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 52 times in 46 posts
December 1, 2009 at 2:11 pm #325410changed the following 2 files:
for right column: layouts/default.php >>>>> $this->_basewidth = 33.67;
for left column: layouts/left-content.php >>>>> $this->_basewidth = 18.82;Best Answer
December 3, 2009 at 5:04 am #325590Hi,
The above said code is not there in the new version of the template(1.1 version).Please help me to reduce the right column size to 20%.Regards
Arunbennyykh Friendbennyykh
- Join date:
- March 2009
- Posts:
- 11
- Downloads:
- 0
- Uploads:
- 2
- Thanks:
- 4
- Thanked:
- 3 times in 2 posts
December 3, 2009 at 5:20 am #325591you can find it at templatesja_selenilayoutsdefault.php
line 16: this->_basewidth = 30;
just change 30 to other value u want
1 user says Thank You to bennyykh for this useful post
December 3, 2009 at 6:29 am #325594Thanks Benny.How do I enable both left and right columns with middle column as content for this template.
Regards
Arun -
AuthorPosts
Viewing 11 posts - 1 through 11 (of 11 total)This topic contains 11 replies, has 5 voices, and was last updated by rarunkumar7 15 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum