Archived topic
Creating a minimalistic GP Child
3 replies · Started by Ramesh Srinivasan on August 18, 2016
Hi,
I'm wondering if it's technically possible to create a minimalistic child theme like the one here using GP. without grid CSS and everything? Total CSS weighs 20k and the html is 8k (without gzip).
Hi there,
For sure, you can strip down GP into only content if you like.
All of our scripts and styles are added using wp_enqueue_style() and wp_enqueue_script().
You can find these in functions.php inside the generate_scripts() function.
Then you can use these functions to remove the styles and scripts you want:
https://codex.wordpress.org/Function_Reference/wp_dequeue_style
https://codex.wordpress.org/Function_Reference/wp_dequeue_script
Hi,
Will try that. Thanks Tom.
No problem - let me know if you need more info :)