Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • guillaume14 Friend
    #129184

    Hi,

    I want to get ride of the right colmn completely so i have:

    1) unpublished all the right column modules

    2) changed the line 255 in the index.php changed from:
    <?php if ($this->countModules(‘user5’) && $ja_right) { ?>
    to
    <?php if ($this->countModules(‘user5’)) { ?>
    (i want to publish the user5 module event if i have nothing in the right column)

    3) modified the template.css:
    modified the width parameter of the #ja-content to 520px
    modified the width parameter of the #ja-col1 to 220px (i am using the narrow width)

    And then i can’t see any difference ie the left column has always the same size …
    If a publish a module in the right position then i can see the difference but only on the Home Page !

    How can i get get ride of the right column (and get full width for the remaining left column and main column) ? In the mean time i want to be able to use the user5 file position (ful width) ?

    Thanks a lot
    Guillaume

    Menalto Friend
    #251566

    This here is the code if you gonna remove the right column totally:

    <?php if ($ja_right) { ?>
    <!-- BEGIN: RIGHT COLUMN -->
    <div id="ja-col2"><div id="ja-col2-top"><div id="ja-col2-bot" class="clearfix">

    <?php if ($hasSubnav) { ?>
    <div id="ja-subnav" class="moduletable-hilite">
    <h3>On this page</h3>
    <?php $jamenu->genMenu (1,1); ?>
    </div>
    <?php } ?>

    <jdoc:include type="modules" name="right" style="xhtml" />
    </div></div></div>
    <!-- END: RIGHT COLUMN -->
    <?php } ?>

    If you unpublish all modules in right column, left and mainbody should extend to full width. So there is no need to delete any code.

    guillaume14 Friend
    #251570

    Hi !
    What a fast answer ! 🙂

    I have replaced my template.css and index.php files with the original ones then i made the modification you gave to me. The problem is that i can’t change the left column size…
    I tried to put a 250px value to the width parameter in the #ja-col1 section without success …

    Thanks in advance
    Guillaume

    Menalto Friend
    #251572

    If you set up your site how you gonna have it and give us your site url its easier for us to help you out here:)

    guillaume14 Friend
    #251574

    You are right: it’s gonna be easier 🙂

    hidden

    Menalto Friend
    #251578

    Find the two lines below and do the changes as i have written it:
    First in template.css line 605:


    #ja-containerwrap-fr #ja-content {
    width:520px;
    }

    And line 609:


    #ja-containerwrap-fr #ja-col1 {
    width:220px;
    }

    This will give you the layout you are after i hope.

    guillaume14 Friend
    #251594

    Hi,
    I am gonna try in a few hours and i will let u know.
    Thanks a lot !

    Guillaume

    guillaume14 Friend
    #251605

    It worked like a charm !

    Thanks again
    Guillaume

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

This topic contains 8 replies, has 2 voices, and was last updated by  guillaume14 16 years, 5 months ago.

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