Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • dizajn75 Friend
    #183894

    Hi,

    I have installed K2 on JA Business 2.5

    I need to increase space between columns (K2 categories used to display articles) so that it is like in original template without k2.
    Explanation is in picture.

    Thanks in advance


    1. spacebetweencolumns
    Luna Garden Moderator
    #479762

    Hello,

    Please try this:

    go to file: <blockquote>templatesja_businesshtmlcom_k2templatesja_businesscategory.php</blockquote>

    Find these lines:

    <div class="itemContainer<?php echo $lastContainer; ?>"<?php echo (count($this->primary)==1) ? '' : ' style="width:'.number_format(100/$this->params->get('num_primary_columns'), 1).'%;"'; ?>>

    change to:
    <blockquote><div class=”itemContainer<?php echo $lastContainer; ?>” style=”width:<?php echo number_format(90/$this->params->get(‘num_primary_columns’), 1); ?>%;<?php if(($key+1)%($this->params->get(‘num_primary_columns’))==0) { echo ‘float:right;’; } ?>”></blockquote>

    Remember to backup your file before processing.

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

This topic contains 2 replies, has 2 voices, and was last updated by  Luna Garden 11 years, 10 months ago.

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