Comments 2Ed started the conversationOctober 6, 2016 at 10:40pmVisual Composer Rows default to padding-top: 100px. What is best way to change padding default for this and other elements without it getting reset on any upgrades to VC or theFox? Thanks! Ed 895TheFox repliedOctober 7, 2016 at 4:10amHello Ed,To do this you need to use a child theme then you need add this to your child theme functions.php : wp_deregister_script( 'customjs' ); wp_enqueue_script( 'customjs', get_stylesheet_directory_uri() .'/js/customjs.js', array( 'jquery' ), false, true ); Then create a new folder named : js in the child theme and copy the customjs.js file of the main theme ( thefox/js/ folder ) and paste it in the new js folder you just created.Then you can edit the customjs.js file of the child theme and change the line 62 and 70change 100px to the height you want to use.Do not hesitate to contact us if you have more questions. Regards.--------------------- Hosting we recommend ( Free SSL and CDN included in all plan ). Speed up your site with Autoptimize Test your site with GTmetrix and fix the issue to make it faster How to Update your Theme Sign in to reply ...
Visual Composer Rows default to padding-top: 100px. What is best way to change padding default for this and other elements without it getting reset on any upgrades to VC or theFox? Thanks! Ed
Hello Ed,
To do this you need to use a child theme then you need add this to your child theme functions.php :
Then create a new folder named : js
in the child theme and copy the customjs.js file of the main theme ( thefox/js/ folder ) and paste it in the new js folder you just created.
Then you can edit the customjs.js file of the child theme and change the line 62 and 70
change 100px to the height you want to use.
Do not hesitate to contact us if you have more questions.
Regards.
---------------------
Hosting we recommend ( Free SSL and CDN included in all plan ).
Speed up your site with Autoptimize
Test your site with GTmetrix and fix the issue to make it faster
How to Update your Theme