-
AuthorPosts
-
dizajn75 Friend
dizajn75
- Join date:
- December 2008
- Posts:
- 66
- Downloads:
- 0
- Uploads:
- 6
- Thanks:
- 21
- Thanked:
- 3 times in 1 posts
January 12, 2013 at 1:54 pm #183894Hi,
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
Luna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
January 15, 2013 at 4:43 am #479762Hello,
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.
AuthorPostsViewing 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
Template 2.5 Space between columns
Viewing 2 posts - 1 through 2 (of 2 total)