Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1384731
    codelabstudios
    Participant

    I would like to remove the bundled gravity form styling that comes with x-theme. I could rename x/framework/css/dist/site/gravity_forms so it doesn’t get picked up, but it’s not good practice to edit the parent theme.

    I cloned the gravity_forms directory to the child theme, and deleted the contents of the css files. However, x-theme is still picking up the parent theme.

    How can I remove the x-theme gravity form css using only the child-theme? Or any solution that doesn’t involve the parent theme directory.

    Thanks,
    Webber

    #1385130
    Christopher
    Moderator

    Hi there,

    Please check How Do I De-Enqueue the Scripts? part in following link : https://wordimpress.com/removing-styles-scripts-from-your-wordpress-parent-theme/

    Hope it helps.

  • <script> jQuery(function($){ $("#no-reply-1384731 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>