-
AuthorPosts
-
December 29, 2010 at 2:59 pm #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..
Khanh Le ModeratorKhanh Le
- Join date:
- November 2013
- Posts:
- 1884
- Downloads:
- 41
- Uploads:
- 31
- Thanks:
- 44
- Thanked:
- 203 times in 131 posts
December 30, 2010 at 10:16 am #369334You 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]December 30, 2010 at 3:32 pm #369370Thank 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 ModeratorKhanh Le
- Join date:
- November 2013
- Posts:
- 1884
- Downloads:
- 41
- Uploads:
- 31
- Thanks:
- 44
- Thanked:
- 203 times in 131 posts
December 31, 2010 at 1:54 am #369447You can add following style into your css file:
.ja-zinintro a,
.ja-zinintro a:hover {
color: #333333;
}
AuthorPostsViewing 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
Click field larger
Viewing 4 posts - 1 through 4 (of 4 total)