Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • eneskose Friend
    #158025

    Hi Joomlart Community,

    How can I make the click filed larger in ja_newspro_fp.

    If someone wants to get into the news, one click to the short description or to the image must be enough..


    1. Unbenannt
    Khanh Le Moderator
    #369334

    You can override the current layout of the default theme of ja_news_fp to get your goal. Copy file modules/mod_janews_fp/tmpl/default/blog.php to templates/ja_teline_iv/html/mod_janews_fp/default/blog.php, then edit the new file:
    Find thi block of code (near the end of file):
    [php]
    <div class=”ja-zincontent-img”>
    <?php if($smallshowimage) echo $news->smallimage?>
    </div>

    <h4 class=”ja-zintitle”>
    <a href=”<?php echo $news->link;?>” title=”<?php echo strip_tags($news->title); ?>”>
    <?php echo $news->title;?>
    </a>
    </h4>
    <div class=”ja-zinintro”>
    <?php echo $smallmaxchar > strlen($news->smallintrotext)?$news->introtext:$news->smallintrotext?>
    </div>
    [/php]

    Then replace with
    [php]
    <div class=”ja-zincontent-img”>
    <a href=”<?php echo $news->link;?>” title=”<?php echo strip_tags($news->title); ?>”>
    <?php if($smallshowimage) echo $news->smallimage?>
    </a>
    </div>

    <h4 class=”ja-zintitle”>
    <a href=”<?php echo $news->link;?>” title=”<?php echo strip_tags($news->title); ?>”>
    <?php echo $news->title;?>
    </a>
    </h4>
    <div class=”ja-zinintro”>
    <a href=”<?php echo $news->link;?>” title=”<?php echo strip_tags($news->title); ?>”>
    <?php echo $smallmaxchar > strlen($news->smallintrotext)?$news->introtext:$news->smallintrotext?>
    </a>
    </div>
    [/php]

    eneskose Friend
    #369370

    Thank you.. After i changed this code the intro is in the same color as the title. how can I change the color of the intro description?

    Khanh Le Moderator
    #369447

    You can add following style into your css file:


    .ja-zinintro a,
    .ja-zinintro a:hover {
    color: #333333;
    }

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

This topic contains 4 replies, has 2 voices, and was last updated by  Khanh Le 13 years, 10 months ago.

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