-
AuthorPosts
-
micheltorres Friend
micheltorres
- Join date:
- March 2008
- Posts:
- 171
- Downloads:
- 4
- Uploads:
- 25
- Thanks:
- 36
- Thanked:
- 2 times in 1 posts
April 12, 2011 at 1:12 pm #162695Hello,
My site uses JA Social template.
I’ve installed JA Comment component and everything is working.
My problem is with Latest Comments Module. Is there a style that makes the module look better?
Thanksaman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
April 13, 2011 at 6:04 am #386060Please eloborate as to how you wish to have it look like and we can try to help you achieve the desired result
1 user says Thank You to aman204 for this useful post
micheltorres Friendmicheltorres
- Join date:
- March 2008
- Posts:
- 171
- Downloads:
- 4
- Uploads:
- 25
- Thanks:
- 36
- Thanked:
- 2 times in 1 posts
April 13, 2011 at 1:44 pm #386198Hello Aman204,
Thanks for your usual good will!!!
I want a comment module style like in frontpage of JA GRAPHITE template.
We have a box with width=504pxThank you
aman204 Friendaman204
- Join date:
- January 2010
- Posts:
- 1945
- Downloads:
- 0
- Uploads:
- 43
- Thanks:
- 11
- Thanked:
- 418 times in 356 posts
April 14, 2011 at 10:31 am #386347You can try out this however this wont give you similar styling as seen in JA graphite because the module seen is K2 comments which has different file so it would require several customizations to make it similar
1) Go to modules/mod_jaclatest_comments/tmpl/default.php file and change this::
<?php if($params->get(“avatar”, “1”)):?>
<img alt=”” src=”<?php echo $item->avatar[0];?>” style=”<?php echo $item->avatar[1];?>”>
<?php endif;?>
<?php if($params->get(“show_author_info”,1)):?>
<span class=”jac-lasmod-author”><?php echo $item->author_info;?></span>
<?php endif;?>
<?php if($params->get(“show_date”,1)):?>
<span class=”jac-lasmod-time”><?php echo $item->date;?></span>
<?php endif;?>to
<div style=”float:left;width:36%;”>
<?php if($params->get(“avatar”, “1”)):?>
<img alt=”” src=”<?php echo $item->avatar[0];?>” style=”<?php echo $item->avatar[1];?>”>
<?php endif;?>
<?php if($params->get(“show_author_info”,1)):?>
<span class=”jac-lasmod-author”><?php echo $item->author_info;?></span>
<?php endif;?>
<?php if($params->get(“show_date”,1)):?>
<span class=”jac-lasmod-time”><?php echo $item->date;?></span>
<?php endif;?>
</div>2) Then, you can add this at end of template.css file::
#ja-container ul.jac-lasmod-main{margin:0;}
#ja-container ul.jac-lasmod-main li{background:none;padding:0;}
.jac-lasmod-main p{padding-left:60px;} -
AuthorPosts
This topic contains 4 replies, has 2 voices, and was last updated by aman204 13 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum