[Resolved] Creating a minimalistic GP Child

Home Forums Support [Resolved] Creating a minimalistic GP Child

Home Forums Support Creating a minimalistic GP Child

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #219311
    Ramesh Srinivasan

    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).

    #219334
    Tom
    Lead Developer
    Lead Developer

    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

    #219440
    Ramesh Srinivasan

    Hi,

    Will try that. Thanks Tom.

    #219474
    Tom
    Lead Developer
    Lead Developer

    No problem – let me know if you need more info 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.