Archived topic
Columns with ninjaform
6 replies · Started by Marcus on November 5, 2018
Hi GP Support
I'm using Column Shortcodes to get my shortcodes on my home page. I'm using Column Shortcodes beacuse I'm using a Nijaform and I could not get it to work with your Column Lihtweight...
Now I have a problem that the form is not centered on mobile because I have som spacing between the columns.
See printscreen
https://snag.gy/435oUC.jpg
Thanks for your help
Why wont the Lighweight Columns support Ninjaforms?..Is it the javascript?..
Yea, Ninja Forms adds javascript directly below the form for some reason, which causes a conflict with the columns code.
You could try using this function if you need to use Ninja Forms:
add_action( 'after_setup_theme', function() {
remove_filter( 'the_content', 'lgc_columns_helper' );
} );
Thanks Tom, where will I put this function? Pretty new at this..
I don't need to use Ninjaforms if you can recommend something else with same functions?
Hi there,
the snippet is PHP - this article covers the methods of adding:
It work now! Perfect!
Update:
No it does not work.. it seems to work, then i update and the form is gone ..
Even if you re-add it? Super strange. You may want to try out Gutenberg, as it will be added to WordPress core very soon and has columns: https://wordpress.org/plugins/gutenberg/
GP 2.2 is available for testing which has full compatibility for Gutenberg: https://generatepress.com/generatepress-2-2/