Bad Update

Posted in: Newspaper
Post count: 7

Hi, I’ve just updated and downgraded in a second. I have in home page a Big Grid 12 in the same row with another element and now it doesn’t work anymore! Bad thing! 🙁 Please fix it..

https://dl.dropboxusercontent.com/u/8330540/Picture.jpg

Post count: 161

Same problem after update! Please help!

Post count: 9544

Make sure you update Visual Composer plugin when updating theme.

Note that things *do* change in new versions of Visual Composer, so always wise to check “changelogs” for ANYTHING you install to know how you might need to “adjust” content for those changes!

Post count: 161

Hi Cris,

I update all, inclue Visual Composer plugin, the problem continue…

Thanks,

Post count: 10

I have the same problem in my website. Im running php 5.6 and all the plugins are update.

“Big grid 4 Please move this shortcode on a full row in order for it to work.”

Post count: 22421

Hello,

The message is intended and was added by us and not visual composer. It is a warning that does not allow you to use big grid on a 2 column layout.
The problem with the big grids is that the 3 column layout is their intended way of using them. We never intended the grids to be used on 2 columns. But they do not display properly on 2 columns. They never have. We added this check so users understand that the grids are not meant to be used in any other layout. If you still want to use them on 2 columns, you will have to edit the theme code like so:
Please comment out or remove this code: https://www.screencast.com/t/SKhrNN5v47 and also remove one of these curly braces: https://www.screencast.com/t/AjjTkQM3E The check is added in each grid file in particular so you will have to edit the file corresponding to the grid you use.

Thank you!

Post count: 171

But the update also messes the VC block with stretch row desing, it doesnt work anymore, its always boxed.

Post count: 22421

Hello,
Please provide an example so we can recreate it. How was it before the update and how is it not working after?
Thank you!

Post count: 7

It’s impossible to have an update fix with the possibility we had before?

Thank you
Cristina

Post count: 171

@Bogdan, its just pretty simple to reproduce.

In the general options of any block using Visual Composer the stretch options dont work. It keeps the block/module/grid boxed within the body of the page.

To give you a better idea, check the black stretched block at the middel of the demo.
https://demo.tagdiv.com/newspaper_medicine/

Before, I just set the stretch option. No big deal. Now I have to use the border options to achieve kind of the same look.

Post count: 22421

Hello,


@Nur-Art
Please understand there is nothing to fix. This is the intended way of using the grids. We will not change back to the old implementation as it will defeat the purpose of the code we implemented to add the message you want to get rid of. If you want to use them on 2 columns you will have to alter the theme files and use them through customization.

@ Arved007

It works fine on our end: https://www.screencast.com/t/JwNhnHoMvmsh The settings work just as before. Here is the back-end of the example I provided: https://www.screencast.com/t/kU6qU83si92a in the row general tab I only set a stretch row option.

Thank you!

Post count: 171

Dont work for me, the stretch row option dont work on any kind of VC block. I even tried creating a new page and nothing.

I use background color and header style 12 if u can try to reproduce the problem.

Post count: 22421

Hello,
If your site is boxed by using a background image or color, there can be no stretched rows. A stretched row will not work on a boxed layout. If you use a background image or color, you cannot use full width elements. I have found this site in previous replies and if this is the one you are referring to: http://www.anim-arte.com/ then you have a boxed layout and you will not be able to use a stretched row until you remove the background color
Thank you!

Post count: 51

I don’t found the code

<?php

/**
*
* Class td_block_big_grid_1
*/
class td_block_big_grid_1 extends td_block {

const POST_LIMIT = 5;

function render($atts, $content = null){

// for big grids, extract the td_grid_style
extract(shortcode_atts(
array(
‘td_grid_style’ => ‘td-grid-style-1’
), $atts));

$atts[‘limit’] = self::POST_LIMIT;

parent::render($atts); // sets the live atts, $this->atts, $this->block_uid, $this->td_query (it runs the query)

$buffy = ”;

$buffy .= ‘<div class=”‘ . $this->get_block_classes(array($td_grid_style, ‘td-hover-1’)) . ‘” ‘ . $this->get_block_html_atts() . ‘>’;

//get the block css
$buffy .= $this->get_block_css();

$buffy .= ‘<div id=’ . $this->block_uid . ‘ class=”td_block_inner”>’;
$buffy .= $this->inner($this->td_query->posts); //inner content of the block
$buffy .= ‘<div class=”clearfix”></div>’;
$buffy .= ‘</div>’;
$buffy .= ‘</div> <!– ./block –>’;
return $buffy;
}

function inner($posts) {

$buffy = ”;

if (!empty($posts)) {

$buffy .= ‘<div class=”td-big-grid-wrapper”>’;

$post_count = 0;

// when 2 posts make post scroll full
$td_scroll_posts = ”;
if (count($posts) == 2) {
$td_scroll_posts = ‘ td-scroll-full’;
}

foreach ($posts as $post) {

if ($post_count == 0) {
$td_module_mx5 = new td_module_mx5($post);
$buffy .= $td_module_mx5->render($post_count);

$buffy .= ‘<div class=”td-big-grid-scroll’ . $td_scroll_posts . ‘”>’;
$post_count++;
continue;
}

$td_module_mx6 = new td_module_mx6($post);
$buffy .= $td_module_mx6->render($post_count);

$post_count++;
}

if ($post_count < self::POST_LIMIT) {

for ($i = $post_count; $i < self::POST_LIMIT; $i++) {

$td_module_mx_empty = new td_module_mx_empty();
$buffy .= $td_module_mx_empty->render($i);
}
}
$buffy .= ‘</div>’; // close td-big-grid-scroll
$buffy .= ‘</div>’; // close td-big-grid-wrapper
}

return $buffy;
}
}

The same for my BIG GRiDE 5

<?php

/**
*
* Class td_block_big_grid_5
*/
class td_block_big_grid_5 extends td_block {

const POST_LIMIT = 3;

function render($atts, $content = null){

// for big grids, extract the td_grid_style
extract(shortcode_atts(
array(
‘td_grid_style’ => ‘td-grid-style-1’
), $atts));

$atts[‘limit’] = self::POST_LIMIT;

parent::render($atts); // sets the live atts, $this->atts, $this->block_uid, $this->td_query (it runs the query)

$buffy = ”;

$buffy .= ‘<div class=”‘ . $this->get_block_classes(array($td_grid_style, ‘td-hover-1’)) . ‘” ‘ . $this->get_block_html_atts() . ‘>’;

//get the block css
$buffy .= $this->get_block_css();

$buffy .= ‘<div id=’ . $this->block_uid . ‘ class=”td_block_inner”>’;
$buffy .= $this->inner($this->td_query->posts); //inner content of the block
$buffy .= ‘<div class=”clearfix”></div>’;
$buffy .= ‘</div>’;
$buffy .= ‘</div> <!– ./block –>’;
return $buffy;
}

function inner($posts) {

$buffy = ”;

if (!empty($posts)) {

$buffy .= ‘<div class=”td-big-grid-wrapper”>’;

$post_count = 0;

foreach ($posts as $post) {

$td_module_mx12 = new td_module_mx12($post);
$buffy .= $td_module_mx12->render($post_count);

$post_count++;
}

if ($post_count < self::POST_LIMIT) {

for ($i = $post_count; $i < self::POST_LIMIT; $i++) {

$td_module_mx_empty = new td_module_mx_empty();
$buffy .= $td_module_mx_empty->render($i);
}
}

$buffy .= ‘</div>’;
}

return $buffy;
}
}

I don’t found what I have to remove…

Post count: 171

Hi, Bogdan.

Until last updat, I could have a stretch row even with background color. I change the background color to grey since december 2016. As I wrote before, now I have to use margin settings to achieve the same look.

Post count: 22421

Hello,


@Stangerson
What do you want to remove? Please open a new topic and describe your problem


@Arved007
the theme grid was changed so there cannot be any stretched content in a boxed version of the theme. You will have to remove the background if you want to have full width content. There were a few changes to the theme grid system and now the option does not allow the background to stretch over a background color.

Thank you!

Viewing 16 posts - 1 through 16 (of 16 total)
You must be logged in to reply to this topic.