test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • th3d Friend
    #141936

    Hello!

    We need to modyfy right module style like Latest News and Popular News. Where and what should be modified?

    Is it possible to modify content item titles that will look like Latest News (two different colors)?

    regards,
    th3d

    mfcphil Friend
    #307978

    find out what the suffix is for that template and add that to the module suffix box.

    Try putting _hilite in the suffix box

    th3d Friend
    #308052

    Unfortunately module suffix doesn’t work. Latest news has no mudule suffix. Two colors are implementet by Javascript.

    Code from template (index.php). User1, 2 and 5 are the module positions with two-color module title.

    <?php
    $spotlight = array (‘user1′,’user2′,’user5’);
    $botsl = $tmpTools->calSpotlight ($spotlight,$tmpTools->isOP()?100:99.9);
    if( $botsl ) {
    ?>
    <!– BEGIN: BOTTOM SPOTLIGHT 1 –>
    <div id=”ja-botsl1″ class=”clearfix”>

    <?php if( $this->countModules(‘user1’) ) {?>
    <div class=”ja-box<?php echo $botsl[‘user1’][‘class’]; ?>” style=”width: <?php echo $botsl[‘user1’][‘width’]; ?>;”>
    <jdoc:include type=”modules” name=”user1″ style=”xhtml” />
    </div>
    <?php } ?>

    So right module should be modified somehow.

    scotty Friend
    #308056

    The provision to do this is already included in the javascript. You just need to add the style in the CSS.

    Open your templates template.css file and add…

    div.module h3 span {
    color: #E15E06;
    }

    Save and clear your browser cache and it should be working on any module titles with at least 2 words.

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

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

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