test
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • cspplus Friend
    #203607

    I’m using the Pricing Table – under JoomlArt Advanced Custom Module

    Type – Pricing Table
    Style – Style-3

    So when I add in 3 Column Title – it looks correct it will show them on 1 line (all horizontal)

    But when I add in my 4th Column Title – it now make the 4 of them Vertical all under them and messes it up..

    As i really need to have 4 Column’s but on the same line and there features under them..

    Eragon H Friend
    #558867

    You can fix by editing the file root/templates/uber/acm/pricing/tmpl/style-3.php
    1. Line 28
    From:

    <div class="col col-md-<?php echo 12 / ($colols_count + 1); ?> no-padding"></div>
    <?php for ($i = 0; $i < $colols_count; $i++) : ?>
    <div class="col col-md-<?php echo 12 / ($colols_count + 1); ?><?php if ($helper->get('data.pricing-col-featured', $i)): ?> col-featured <?php endif ?> no-padding">

    To:

    <div class="col col-md-3 no-padding"></div>
    <?php for ($i = 0; $i < $colols_count; $i++) : ?>
    <div class="col col-md-<?php echo round(12 / ($colols_count + 1)); ?><?php if ($helper->get('data.pricing-col-featured', $i)): ?> col-featured <?php endif ?> no-padding">

    2. Line 55
    From:

    <div class="col col-md-3 no-padding">
    To:

    <div class="col col-md-<?php echo round(12 / ($colols_count + 1)); ?> no-padding">

    Result:


    1. Screenshot_1
    wiljanden Friend
    #723514
    wiljanden Friend
    #754069
    Saguaros Moderator
    #723587

    Hi willjanden,

    You can backup the current file & try with this attached file.

    Saguaros Moderator
    #754117

    Hi willjanden,

    You can backup the current file & try with this attached file.

    kella@youngerusa.com Friend
    #871751

    Where is the file mentioned above?
    I have followed these instructions but it has not worked.

    The one thing I can think of is that on line 55 it did not have:

    <div class="col col-md-3 no-padding">

    Instead I saw:

    <div class="col col-md-<?php echo 12 / ($colols_count + 1); ?> no-padding">

    I changed it as mentioned above but it did not come out right. See the attached images of the front end and the code.

    domain: youngerusa.com/j3new


    1. Code
    2. frontend
    Saguaros Moderator
    #872879

    I attach it again here


    1. style-3.php_.zip
    kella@youngerusa.com Friend
    #873595

    Thank you very much! That worked!

    Saguaros Moderator
    #873904

    You’re welcome!!!

    classixuk Friend
    #961718

    Hi Saguaros,

    I have downloaded your file and uploaded it to allow me to add a 4th column to the pricing table using Style 3.

    It has almost worked, but when the text column contains ‘long text’ the rows become mis-aligned.

    Is there any-way to fix this?

    Many thanks,
    Chris


    1. screenshotpricing
    Saguaros Moderator
    #961946

    Hi Chris,

    You can send me the URL and login info of your site, I will have a look.

    (put your info in Private reply)

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

This topic contains 11 replies, has 6 voices, and was last updated by  Saguaros 8 years, 3 months ago.

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