Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • reders Friend
    #159692

    Hi, I have used this template to develop a site, you can view this on the demo link:

    http://www.s217794495.websitehome.co.uk/LMedA-Mainsite/

    In order to create the home page to suit the clients needs i had to change the width of the mainbody and the right column, to do this i edited the default.php file (file path ../plugins/system/jat3/base-themes/default/page/default.php)

    I change Line 52 to: <div id=”ja-mainbody” style=”width:62%;”>

    I also changed Line 191 to: <div id=”ja-right” class=”column sidebar” style=”width:38%;”>

    The issue i am having is that if you go on to any of the other pages the mainbody’s width still stays the same as the home page even when there are no module positions published in the right position.

    I have tired changing line 52 to: <div id=”ja-mainbody” style=”width:<?php echo $this->getColumnWidth(‘m’) ?>%”> but it sets the column width to 70%, im not sure where the php is getting this figure from.

    Please could you help me.

    Regards
    Sean R.

    cssyeah Moderator
    #375334

    Hi reders,

    If you want to change the width of the main body, you can open the default.xml in the /ja_anion/core/etc/layouts/ folder.

    Go to the about line 10 and change colwidth=”20″ parameter.

    EX: <blocks name=”middle” colwidth=”38″ markup=”3″ fixheight=”1″>

    reders Friend
    #375378

    Hi trungch

    I changed the default.php file that i originally changed back to the original code.

    I then changed the default.xml file, i change line 10 to <blocks name=”middle” colwidth=”38″ markup=”3″ fixheight=”1″>.

    this did not work so i tried changed other widths in this file but there is no change on the site.

    You can view the site on the same link, How can i make the ja-mainbody width 62% and the ja-right width to 38%

    Regards
    reders

    aman204 Friend
    #376243

    I am able to see the width variation as desired by you. Can you provide in direct site link where difference can be noted

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 3 voices, and was last updated by  aman204 13 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum