Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • rovisco Friend
    #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 Moderator
    #723729

    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

    Ninja Lead Moderator
    #754221

    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

    rovisco Friend
    #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?

    rovisco Friend
    #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 Moderator
    #723896

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

    Ninja Lead Moderator
    #754341

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

    rovisco Friend
    #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

    rovisco Friend
    #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

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

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