Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • treybraid Friend
    #151136

    …again site is on a local install

    i know i need to edit the main.php file… i am using a fpss from joomla works with a width roughly 520px and id like to add another mod to the left ( actual width of 120px )

    the new mod is called content-top-left…. what would i need to edit?

    thanks
    trey

    treybraid Friend
    #343940

    after much trial and error with this i figured it out as well…

    actually went back in my email and found another ticket / posting where i had a similar question in july of last year… this is what i added to the main.php file

    <?php if( $this->countModules(‘ctleft’) ) {?>
    <div class=”ja-ctleft”>
    <jdoc:include type=”modules” name=”ctleft” style=”xhtml” />
    </div>
    <?php } ?>
    <?php if( $this->countModules(‘ctright’) ) {?>
    <div class=”ja-ctright”>
    <jdoc:include type=”modules” name=”ctright” style=”xhtml” />
    </div>
    <?php } ?>

    before this line: <div id=”ja-content” class=”column” style=”width:<?php echo $this->getColumnWidth(‘cw’) ?>%”>

    i then went in the template.css and added this at the end of the file… in my case i set specific widths for each mod ( i am using front page slide show by joomlaworks and i want to add some images to the left )

    .ja-ctleft {
    float: left;
    width: 120px;
    }

    .ja-ctright {
    float:left;
    widht: 520px:
    }

    …dont forget to add to the template details file as well..
    trey

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

This topic contains 2 replies, has 1 voice, and was last updated by  treybraid 14 years, 6 months ago.

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