Skip to content

Instantly share code, notes, and snippets.

@ThierryA
Created December 2, 2015 12:36
Show Gist options
  • Save ThierryA/f9e91ac675c4f77ff38e to your computer and use it in GitHub Desktop.
Save ThierryA/f9e91ac675c4f77ff38e to your computer and use it in GitHub Desktop.
Beans: change UIkit style to gradient.
<?php
// Do not include the opening php tag if it is already included in your file.
add_action( 'beans_uikit_enqueue_scripts', 'beans_child_uikit_themes', 4 );
function beans_child_uikit_themes() {
// Remove default style for performance purposes.
beans_uikit_dequeue_theme( 'default' );
// Add the gradient style.
beans_uikit_enqueue_theme( 'gradient' );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment