Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • djboxny Friend
    #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


    1. helpme
    thuanlq Friend
    #367136

    Hi 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;
    }

    djboxny Friend
    #367358

    great 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 Friend
    #367685

    Hi,

    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 Friend
    #367782

    I 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 Friend
    #367786

    I 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 Friend
    #367848

    Hi @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 Moderator
    #367888

    T3 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 Friend
    #369434

    thuanlq Thanks for help… I will trying doing this later tonight and get back to you…

Viewing 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