-
AuthorPosts
-
September 30, 2009 at 6:22 am #144723
Hi – I’ve been trying to increase the right column width from 190px to 250px. Have tried adding width: 125% in template.css and also played around with the % in layout.css. I also noticed there is a right.php in “blocks”, as well as ja.helper.php in “lib”.
Of course I also studied index.php and found no means of adjusting the width.
The closest I came to finding the solution was in layout.css
/* Right Column —*/
#ja-right { float: right; }
#ja-right .ja-r2 .ja-right1, #ja-right .ja-r2 .ja-right2 { width: 50%; }
#ja-right .ja-r1 .ja-col { width: 100%; }Increasing those percentages had no effect. The only thing I was able to do was change the pixel width of the template at line 16:
.main { width: 980px; margin: 0 auto; position: relative;}
Anyhow, I am hoping someone can help me figure this out.
Thnx all
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
September 30, 2009 at 7:50 am #319101Hi darien81
Please try to do with this code:
/* Right Column ---*/
#ja-right { float: right !important; }
#ja-right .ja-r2 .ja-right1, #ja-right .ja-r2 .ja-right2 { width: 50% !important; }
#ja-right .ja-r1 .ja-col { width: 100% !important; }September 30, 2009 at 2:47 pm #319166Hi – Thanks for the quick reply, but I don’t understand.
As I said in my post, when I change the precentages in that code (in layout.css), I see no effect at all. Can you tell me what to change the numbers to in order to expand ja-right to approximately 250px (I belive it is set at 190px)
Thank you
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
October 7, 2009 at 7:44 am #319717Hi – thank you for your PM
I am sorry for my mistake.
Please open templates/ja_teline_iii/css/layout.css file, at about line 60, find following code:
#ja-right .ja-r2 .ja-right1, #ja-right .ja-r2 .ja-right2 {
width:50%;
}
and change to:
#ja-right .ja-r2 .ja-right1 {
width:40%;
}#ja-right .ja-r2 .ja-right2 {
width:60%;
}
Hope it helps.
1 user says Thank You to JA Developer for this useful post
santoshalom Friendsantoshalom
- Join date:
- February 2009
- Posts:
- 119
- Downloads:
- 0
- Uploads:
- 22
- Thanks:
- 67
- Thanked:
- 14 times in 1 posts
October 31, 2009 at 3:18 am #322172it did not work for me mR JaDeveloper
/* MAIN COLUMN
--------------------------------------------------------- */
#ja-mainbody { float: left; }
#ja-current-content, #ja-main {
float: right;
width: 485px !important;
}/* SIDE COLUMNS
--------------------------------------------------------- */
.ja-colswrap {}
.ja-col {}/* Left Column ---*/
#ja-left .ja-l2 .ja-left1, #ja-left .ja-l2 .ja-left2 { width: 50%; }
#ja-left .ja-l1 .ja-col { width: 100%; }/* Right Column ---*/
#ja-right .ja-r2 .ja-right1 {
width:285px;
}
#ja-right .ja-r2 .ja-right2 {
width:285px;
}
#ja-right .ja-r1 .ja-col { width: 285px; }this what i put because i wanted right side to 285px with out increasing leftside
please help thanks
santoshalom Friendsantoshalom
- Join date:
- February 2009
- Posts:
- 119
- Downloads:
- 0
- Uploads:
- 22
- Thanks:
- 67
- Thanked:
- 14 times in 1 posts
November 2, 2009 at 11:22 pm #322381bump anyone to help on this… i raised a ticket never got satisfied reply 2 weeks.. i getting tiredd…
micrantha Friendmicrantha
- Join date:
- May 2007
- Posts:
- 465
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 6
- Thanked:
- 158 times in 148 posts
November 4, 2009 at 10:19 pm #322586Hello santoshalom,
At the moment I also don’t quite understand the width-configurations of this template.
As you said it is easy to change width of template, f.i. from 980px to 1000px, in layout.css.When you do this you see – in default template, so with mass-columns right, and a left and right smal column at the right side of the main content – that the ratio of main and right is 60% to 40%.
This 40% of right side is what is called: #ja-right.
This right side is devided in 2 columns: left and right: each 50%.So when you want to make this devision different, you have to change this line:
#ja-right .ja-r2 .ja-right1, #ja-right .ja-r2 .ja-right2 { width: 50%; }
change to, for instance
#ja-right .ja-r2 .ja-right1{width: 30%;}
#ja-right .ja-r2 .ja-right2 { width: 70%; }Hope this is a beginning of what you want.
I have no idea where to change the devision of the complete page, now in 60% – 40%.As you can see in the file right.php with of 40% is fetched from somewhere else:
<div id="ja-right" class="column sidebar" style="width:<?php echo $r ?>%">
this variable $r gets attention in ja.template.helper.php, line 503: //right
The output is 40%, as you can see in the source-code of the home-page of the jateline-III-demo.
<div id="ja-right" class="column sidebar" style="width:40%">
I don’t know where to change this.
Hope this helps you a little bit.
Best regards
1 user says Thank You to micrantha for this useful post
santoshalom Friendsantoshalom
- Join date:
- February 2009
- Posts:
- 119
- Downloads:
- 0
- Uploads:
- 22
- Thanks:
- 67
- Thanked:
- 14 times in 1 posts
November 5, 2009 at 7:43 pm #322688thanks..micrantha
this helped me
#ja-right { float: right; }
and change to:
#ja-right {
float: right;
width:285px !important;
}- at about line 55, find following code:
#ja-mainbody { float: left; }
and change to:
#ja-mainbody {
float: left;
width:485px !important;
}dawax Frienddawax
- Join date:
- June 2008
- Posts:
- 29
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 7
- Thanked:
- 1 times in 1 posts
November 22, 2009 at 12:08 am #324572Thanks for your hard work. It helped me a lot but I have one more question…
I changed the width of the right column and the main body, but the line between them didn’t move. How do I do this?
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
November 24, 2009 at 10:15 am #324779Hi dawax
Open templates/ja_teline_iii/css/template.css file, at about line 775, find following code section:
#ja-container.ja-r1 .main { background: url(../images/dot.gif) repeat-y 80% 0 #fff; }
and change to:
#ja-container.ja-r1 .main { background: url(../images/dot.gif) repeat-y 74.2% 0 #fff; }
1 user says Thank You to JA Developer for this useful post
November 26, 2009 at 9:32 pm #325084Hi JA Developer,
I don’t think the answer is correct when I look at the http://www.sagenexus.com/ website. I have the same issue on my website: in the file /templates/ja_teline_iii/layouts/default.php I changed the variable to
$this->_basewidth = 25;and in the file /templates/ja_teline_iii/css/template.css I changed the property
#ja-container.ja-r1 .main { background: url(../images/dot.gif) repeat-y 75% 0 #fff; }However the line is still at 20% from the right side instead op 25%. Got a clue?
Regards,
Carlo -
AuthorPosts
This topic contains 12 replies, has 6 voices, and was last updated by carlorens 14 years, 12 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum