-
AuthorPosts
-
November 10, 2015 at 1:33 pm #723635
Hello,
I created a module of type ‘Articles – Category’ and I used alternative layout “three-columns”. However it does not work. Besides that, If I use six-columns alternative layout it works, as shown in the picture.
What is the problem?
Thanks
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 11, 2015 at 4:46 am #723729Hi,
I applied the solution below into your site
Open templates/ja_medicare/html/mod_articles_category/six-columns.php file
find and change
<div class="category-module-item col-sm-4 col-md-2 <?php if(($numberItem/$count)<2): echo ' last-row'; endif; ?>">
to
<div class="category-module-item col-sm-4 col-md-4 <?php if(($numberItem/$count)<2): echo ' last-row'; endif; ?>">
Now, you can see it’s working with 3 columns on your site
Regards
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 11, 2015 at 4:46 am #754221Hi,
I applied the solution below into your site
Open templates/ja_medicare/html/mod_articles_category/six-columns.php file
find and change
<div class="category-module-item col-sm-4 col-md-2 <?php if(($numberItem/$count)<2): echo ' last-row'; endif; ?>">
to
<div class="category-module-item col-sm-4 col-md-4 <?php if(($numberItem/$count)<2): echo ' last-row'; endif; ?>">
Now, you can see it’s working with 3 columns on your site
Regards
November 11, 2015 at 9:21 am #723764<em>@Ninja Lead 501678 wrote:</em><blockquote>Hi,
I applied the solution below into your site
Open templates/ja_medicare/html/mod_articles_category/six-columns.php file
find and change
<div class="category-module-item col-sm-4 col-md-2 <?php if(($numberItem/$count)<2): echo ' last-row'; endif; ?>">
to
<div class="category-module-item col-sm-4 col-md-4 <?php if(($numberItem/$count)<2): echo ' last-row'; endif; ?>">
Now, you can see it’s working with 3 columns on your site
Regards</blockquote>
Thank you!
The problem is that now I cannot use six-columns with actually six columns. Why three-columns layout does not work? Could you fix three-columns instead of six-columns?
November 11, 2015 at 9:21 am #754250<em>@Ninja Lead 501678 wrote:</em><blockquote>Hi,
I applied the solution below into your site
Open templates/ja_medicare/html/mod_articles_category/six-columns.php file
find and change
<div class="category-module-item col-sm-4 col-md-2 <?php if(($numberItem/$count)<2): echo ' last-row'; endif; ?>">
to
<div class="category-module-item col-sm-4 col-md-4 <?php if(($numberItem/$count)<2): echo ' last-row'; endif; ?>">
Now, you can see it’s working with 3 columns on your site
Regards</blockquote>
Thank you!
The problem is that now I cannot use six-columns with actually six columns. Why three-columns layout does not work? Could you fix three-columns instead of six-columns?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 12, 2015 at 3:50 am #723896If you want to set alternative layout “three-columns” and show it on your site, you can try to do this
Open templates/ja_medicare/css/custom.css file and add new css style
.category-module.three-columns .category-module-item.ja-animate {
opacity: 1;
}Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 12, 2015 at 3:50 am #754341If you want to set alternative layout “three-columns” and show it on your site, you can try to do this
Open templates/ja_medicare/css/custom.css file and add new css style
.category-module.three-columns .category-module-item.ja-animate {
opacity: 1;
}November 12, 2015 at 11:28 am #723994<em>@Ninja Lead 501864 wrote:</em><blockquote>If you want to set alternative layout “three-columns” and show it on your site, you can try to do this
Open templates/ja_medicare/css/custom.css file and add new css style
.category-module.three-columns .category-module-item.ja-animate {
opacity: 1;
}
</blockquote>I override the six-columns layout and I applied the first modification you suggested. This is the best solution for the problem I had.
Thanks
November 12, 2015 at 11:28 am #754386<em>@Ninja Lead 501864 wrote:</em><blockquote>If you want to set alternative layout “three-columns” and show it on your site, you can try to do this
Open templates/ja_medicare/css/custom.css file and add new css style
.category-module.three-columns .category-module-item.ja-animate {
opacity: 1;
}
</blockquote>I override the six-columns layout and I applied the first modification you suggested. This is the best solution for the problem I had.
Thanks
-
AuthorPosts
This topic contains 9 replies, has 2 voices, and was last updated by rovisco 9 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum