Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • cybatek Friend
    #125869

    I’d like make the ‘Top’ module position about half as wide as it is.

    Where do I go to set the width of a module position. :confused:

    cybatek Friend
    #239783

    The index.php shows that ‘top’ is controlled by the div ja-shcontent.

    Went to template_css.css and changed:

    div#ja-shcontent {
    float: right;
    width: 50%;
    overflow: hidden;

    to

    div#ja-shcontent {
    float: left;
    width: 30%;
    overflow: hidden;

    lupen Friend
    #240937

    <em>@cybatek 41288 wrote:</em><blockquote>The index.php shows that ‘top’ is controlled by the div ja-shcontent.

    Went to template_css.css and changed:

    div#ja-shcontent {
    float: right;
    width: 50%;
    overflow: hidden;

    to

    div#ja-shcontent {
    float: left;
    width: 30%;
    overflow: hidden;</blockquote>

    Hello
    is possible to leave the slideshow module position, i want to use only top module position with width 100%
    If i put the slideshow in unpuiblish mode i can not see the module TOP and vice versa

    thanks lupen

    hieunt Friend
    #241055

    Hi lupen,
    If you want to use only top module position with width 100%, please open index.php file in template/ja_pariiti folder. and change
    <blockquote><!– BEGIN: SUB-HEADER –>
    <?php if ( mosCountModules(‘slideshow’) && mosCountModules(‘top’) ) { ?>
    <div id=”ja-sh”>
    <div class=”ja-innerpad clearfix”>

    <?php if (mosCountModules(‘slideshow’)) { ?>
    <div id=”ja-slideshow”>
    <?php mosLoadModules(‘slideshow’,-2);?>
    </div>
    <?php } ?>

    <?php if (mosCountModules(‘top’)) { ?>
    <div id=”ja-shcontent”>
    <div class=”innerpad”>
    <?php mosLoadModules(‘top’, -2); ?>
    </div>
    </div>
    <?php } ?>

    </div>
    </div>
    <?php } ?>
    <!– END: SUB-HEADER –>
    </blockquote>
    to
    <blockquote>
    <!– BEGIN: SUB-HEADER –>
    <?php if ( mosCountModules(‘top’) ) { ?>
    <div id=”ja-sh”>
    <div class=”ja-innerpad clearfix”>

    <?php if (mosCountModules(‘top’)) { ?>
    <div id=”ja-shcontent”>
    <div class=”innerpad”>
    <?php mosLoadModules(‘top’, -2); ?>
    </div>
    </div>
    <?php } ?>

    </div>
    </div>
    <?php } ?>
    <!– END: SUB-HEADER –>
    </blockquote>
    AND open template_css.css file and changed
    <blockquote>
    .narrow div#ja-shcontent {
    width: 42.5%;
    overflow: hidden;
    }
    </blockquote>
    to
    <blockquote>
    .narrow div#ja-shcontent {
    width: 100%;
    overflow: hidden;
    }
    </blockquote>

    and changed background of top module in here
    <blockquote>
    /* SUBHEADER
    ——————————————————— */
    #ja-sh {
    padding-bottom: 15px;
    background: url(../images/sh-bg.jpg) no-repeat 15px 0 #FAF5D7;
    }

    .narrow #ja-sh {
    background: url(../images/sh-narrow-bg.jpg) no-repeat 15px 0 #FAF5D7;
    }
    </blockquote>

    Thanks, hieunt.

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

This topic contains 4 replies, has 3 voices, and was last updated by  hieunt 16 years, 6 months ago.

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