Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • micheltorres Friend
    #162695

    Hello,
    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?
    Thanks

    aman204 Friend
    #386060

    Please eloborate as to how you wish to have it look like and we can try to help you achieve the desired result

    micheltorres Friend
    #386198

    Hello 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=504px

    Thank you

    aman204 Friend
    #386347

    You 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;}

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

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