-
AuthorPosts
-
December 15, 2010 at 3:39 pm #157475
Please look at the attached picture.
I want to remove or change the words Welcome to the Front page in the MAIN body of Ja Social. Not the one on the page but the main body as in the picture.Also how do i make the text smaller for Titles of aticles shown in the front page.
And Lastly how do i remove the spacing in the template as shown in the Picture that i attached. I want the main body and modules around it and Everything to look a bit closet together.
Thanks
PS i did search and could’t find a good answer
thuanlq Friendthuanlq
- Join date:
- October 2010
- Posts:
- 528
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 8
- Thanked:
- 121 times in 99 posts
December 16, 2010 at 10:49 am #367136Hi Djboxny,
– Remove the words “Welcome ..” on front page as following:
+ login admin, go to “menus > maine menu” edit “home” menu item
+ click on “parameters (system)” tab, choose “No” for “show page title” param.
– Make text smaller of titles as following:
+ open file “template.css” on location “templates/ja_social/css/” find to line 81 and change style for “.blog-featured .contentheading” same
.blog-featured .contentheading { color: #238db4; font-size: 170%; } /*set font-size to smaller*/
– to remove the spaching in the template, you can do it as following:
+ open file layout.css on location template/ja_social/css/ find to line 39, and change value of margin-right
.ja-inset1 div.ja-moduletable, .ja-inset1 .div.moduletable, .ja-inset1 div.ja-module, .ja-inset1 div.module {
margin-right: 20px; /* change to smaller value for margin-right exm:5px or 0px */
margin-left: 0;
}December 17, 2010 at 4:04 pm #367358great everything worked except. How about if i want to make the Main Content mofule in the moddle wider. Instead of just making the left modules wider. Also were do i edit to make the right side modules wilder
thuanlq Friendthuanlq
- Join date:
- October 2010
- Posts:
- 528
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 8
- Thanked:
- 121 times in 99 posts
December 20, 2010 at 7:25 am #367685Hi,
you can make width of main content block wider as following:
– Open file layout.css on location template/ja_social/css/ find to line 39, and change value of margin-right
.ja-inset1 div.ja-moduletable, .ja-inset1 .div.moduletable, .ja-inset1 div.ja-module, .ja-inset1 div.module {
margin-right: 20px; /* change to smaller value for margin-right exm:5px or 0px */
margin-left: 0;
}
– Define new style on this file
#ja-inset1
{
width:22.21% !important; /*currently, width of left block is 28.21%*/
}
#ja-current-content
{
width:77.79% !important; /* currently, width of main content is 71.79%*/
}
– To make the right side block wider, you need change width of right block and width of mainbody block, on same file
#ja-right {
width:22% !important; /* this value is using for width of right block*/}
#ja-mainbody
{
width:78% !important; /*this value is using */
}charles99 Friendcharles99
- Join date:
- December 2008
- Posts:
- 314
- Downloads:
- 207
- Uploads:
- 17
- Thanks:
- 8
- Thanked:
- 50 times in 6 posts
December 20, 2010 at 2:20 pm #367782I have a quick question how do you remove the Frontpage content box? Even when you make adjustment in the main menu and turn off frontpage articles you are still left with the white content box going across my home page. Need to disable the frontpage content box on my home page without disabling it on the other pages?
Thanks for help you can give…
charles99 Friendcharles99
- Join date:
- December 2008
- Posts:
- 314
- Downloads:
- 207
- Uploads:
- 17
- Thanks:
- 8
- Thanked:
- 50 times in 6 posts
December 20, 2010 at 2:27 pm #367786I need to add four new Module Positions below the content-mass-bottom area and need to know if this right or corrected?
<block name=”content-mass-bottom” type=”spotlight” special=”right” specialwidth=”26″ main-inner=”1″>user12,user13,user14,user15</block>
<block name=”content-mass-bottom1″ type=”spotlight” main-inner=”1″>user16,user17,user18,user19</block>
charles
thuanlq Friendthuanlq
- Join date:
- October 2010
- Posts:
- 528
- Downloads:
- 0
- Uploads:
- 29
- Thanks:
- 8
- Thanked:
- 121 times in 99 posts
December 21, 2010 at 2:11 am #367848Hi @charles99,
– When i add new module positions with T3 framework, i edit “layout default” at location “extensions > template manager > my default template”. I define new block as you have mentioned above.
<block name="content-mass-bottom1" type="spotlight" main-inner="1">user16,user17,user18,user19</block>
but, i need check if my template support block name “content-mass-bottom1”. append “?tp=1” on end of url to check block name on site, exm: http://mysite.local/ja_social/?tp=1
– To remove frontend content box, i do the following.
+ open and edit “default.php” file at folder “templates/my template/html/com_content/frontpage/ ”
+ check if current page is “frontpage” call javascript to hide content box, else show content box
$view = JRequest::getVar('view');
if($view == "frontpage")
{
?>
<script language="javascript" type="text/javascript">
$("ja-content").setStyle("display","none");
</script>
<?php
}
else
{
// show content box when current page isn't frontpage
}
?>
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 21, 2010 at 7:18 am #367888T3 template supports only 1 content-mass-bottom Block, your “content-mass-bottom1” block is invalid, just move it to the bottom area. In header & bottom section you can add as many blocks as you wish.
charles99 Friendcharles99
- Join date:
- December 2008
- Posts:
- 314
- Downloads:
- 207
- Uploads:
- 17
- Thanks:
- 8
- Thanked:
- 50 times in 6 posts
December 31, 2010 at 12:04 am #369434thuanlq Thanks for help… I will trying doing this later tonight and get back to you…
AuthorPostsViewing 9 posts - 1 through 9 (of 9 total)This topic contains 9 replies, has 4 voices, and was last updated by charles99 13 years, 10 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Remove spacing Ja social, Reformat text in front page, Help please
Viewing 9 posts - 1 through 9 (of 9 total)