Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #20221

    Hi,

    I’m trying to make the portfolio isotope feature show 8 columns. I read somewhere to put this code:

    .no_margin.one_fourth {

    width: 12.5% !important

    }

    This works, but initially isotope loads the thumbnails in 4 columns. After all the images have loaded will the thumbnails move and fit into 8 columns. How might I go about changing this?

    #106739

    Hi,

    Please find this bit of code on line 754 of /includes/admin/register-admin-dynamic-options.php

    "std" => "4",
    "no_first"=>true,
    "subtype" => array('1'=>'1','2'=>'2','3'=>'3','4'=>'4')),

    and replace it with this

    "std" => "8",
    "no_first"=>true,
    "subtype" => array('1'=>'1','2'=>'2','3'=>'3','4'=>'4','8'=>'8')),

    then find between lines 1396-1401 of /includes/admin/register-admin-options.php

    "std"  => "4",
    "subtype" => array( '1 Column'=>'1',
    '2 Columns'=>'2',
    '3 Columns'=>'3',
    '4 Columns'=>'4',
    )),

    and replace with this

    "std"  => "8",
    "subtype" => array( '1 Column'=>'1',
    '2 Columns'=>'2',
    '3 Columns'=>'3',
    '4 Columns'=>'4',
    '8 Columns'=>'8',
    )),

    Then you should see the option for 8 columns in the template builder.

    Thanks,

    Nick

    #106740

    Thanks for the reply. I’m looking at the files and I think what I am looking at is different version? I’m on 1.5.

    On /includes/loop-portfolio.php, line 158 I see this:

    <div class=”entry”>

    <h1 class=’post-title’><?php _e(‘Nothing Found’, ‘avia_framework’); ?></h1>

    <p><?php _e(‘Sorry, no posts matched your criteria’, ‘avia_framework’); ?></p>

    </div>

    Line 36 is empty, but 33 has this:

    $avia_config = $avia_config[0];

    Is that what I’m looking for?

    For /includes/admin/register-admin-dynamic-options.php, the code only goes to as far as 808, so I don’t know where to look for line 860.

    At this point, I’m not sure /includes/admin/register-admin-options.php is in the right line either. What should I see?

    It would be great if you could clarify. Thanks.

    #106741

    Hi,

    I updated my answer above. Sorry about that.

    Thanks,

    Nick

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

The topic ‘8 columns’ is closed to new replies.