test
Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • khoand Friend
    #413453

    You try this way. You remove

    width: 33.6% !important;
    and you replace this code from /templates/ja_teline_iv/blocks/spotlight.php


    <?php if( $this->countModules($pos) ): ?>

    with


    <?php if( $this->countModules($pos) ): ?>
    <?php if ($botsl[$pos]['class'] == "-right" && $botsl[$pos]['width']=="33.3%"){
    $botsl[$pos]['width'] = "33.6%";
    }?>

    – Delete all of files of /cache and /t3-assets folder

    gr00vytunes Friend
    #413521

    Thanks for the response again.

    Before i added this code I was testing the original one of different browsers. On FF and IE the 3rd column had moved down below the other 2.

    It appears as though the gap with the original code is actually bigger in Chrome.

    I think the issue is the fact that the code divides the modules into 33.3% which x 3 is 99.9% – and causes the widths of each to be 325px which x 3 is 975, the width of the template is 978 (980 but the is 1px border either side) – 3px too short.

    So if I add the code above I believe it will knock FF and IE out.

    I’m just wondering if it would be better to have a rule that would just fill the gap with white? that would cover all 3 browsers!!

    What do you think?

    khoand Friend
    #413769

    You’re right. When I gave my solution to you, I just tested in chrome. Wait a minute, please. I will find another way.

    khoand Friend
    #413771

    You try this code


    <?php if( $this->countModules($pos) ): ?>
    <?php if ($botsl[$pos]['width']=="33.3%"){
    $botsl[$pos]['width'] = "325px";
    if ($botsl[$pos]['class'] == "-right"){
    $botsl[$pos]['width'] = "328px";
    }
    }?>

Viewing 4 posts - 16 through 19 (of 19 total)

This topic contains 19 replies, has 2 voices, and was last updated by  khoand 13 years, 3 months ago.

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