I REALLY love your page builder tool, and you’ve added some great features in recent releases. However, I’m finding that the features generally available in the row style editor are not all available when using the page builder in conjunction with Vantage Premium.
I’ve done some investigation in the VP functions.php and have seen that you can hook into and modify the page builder. I’d like to be able to un-hook those modifications in a VP child theme so that the full feature set of page builder is available. Can you point me to the function(s) where the row style editor is modified to show the subset of features? Since the child theme’s functions.php is processed before the parent theme, is it even possible to un-hook the VP modifications of the row style editor?
Thanks for your time, and for an awesome collection of tools!
Hi Lucas
Thanks for your support.
Vantage had Page Builder support, things like row background images, before they were available in Page Builder generally. As we’ve released these features into Page Builder we’ve, unfortunately, run into legacy issues, the results of which you’e noticed.
We could assist by working up a row class for you that’ll add a value of cover to your background images. I know it’s a bit of a mission getting URLS from the Media Library but you only have to do it once :)
Besides the media button and background image position, is there anything else you’re missing?
Thanks Andrew for that thorough answer, and for offering to work up a row class that will make a background cover the row. That’s definitely something I can do on my own, but I appreciate the offer.
I’m more interested in using the parallax feature, which also seems to be missing from the row config options. I’ve found the place in the theme functions (inc/panels.php) that sets up the row style boxes that are seen in page builder using the Vantage theme . Commenting out line 28 in functions.php (include get_template_directory() . ‘/inc/panels.php’;) seems to return the page builder native row styles.
I also see that commenting out this line (understandably) breaks any pages that use the legacy row styling. For existing sites, this would be a problem. However, for new sites, I wonder if this is a good solution.
Is there anywhere else in the theme files where the legacy row styling would need to be removed, or just in panels.php? What I’m looking to do is to create a child theme that skips any reference to legacy row styling. Is there anywhere else in the vantage theme I should look for the legacy integration, other than /inc/panels.php?
Thanks so much for your help, and I’ll be sure to report back if I’m able to remove the legacy styling!
For sure.
Parallax is unfortunately a bit broken at the moment. We need to improve it. It’s not working in a lot of instances. You could perhaps try a plugin in the mean time:
Thread: How to add parallax scrolling to a Page Builder row.
There isn’t anything else that needs to be removed that I know of.
Everything in panels.php is added using filters so you could use the remove_filter function for each one.
https://codex.wordpress.org/Function_Reference/remove_filter
Sounds like you’re up to speed on this already though.