Title: Problem adding Zurb to WordPress
Last modified: September 28, 2016

---

# Problem adding Zurb to WordPress

 *  [f2099](https://wordpress.org/support/users/f2099/)
 * (@f2099)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/problem-adding-zurb-to-wordpress/)
 * Hi, everyone. I’m having a hard time installing Foundation in a WordPress website
   I’m developing. I’ve tried the following code:
 * function enqueue_foundation() {
    wp_deregister_script(‘jquery’); wp_enqueue_style(‘
   foundation-css’, get_template_directory_uri() . ‘/css/foundation.min.css’); //
   wp_enqueue_script( ‘foundation-js’, get_template_directory_uri() . ‘/js/foundation.
   min.js’); wp_enqueue_script( ‘foundation-jquery’, get_template_directory_uri().‘/
   js/vendor/jquery.js’); wp_enqueue_script( ‘foundation-js’, get_template_directory_uri().‘/
   js/foundation.min.js’, array(‘foundation-jquery’)); }
 * add_action(‘wp_enqueue_scripts’, ‘enqueue_foundation’);
 * However, this is breaking the site’s layout. I’ve also tried using a plugin to
   add the CSS and the JavaScript files from a CDN, but this also doesn’t solve 
   the problem.
 * How should I proceed? Thanks in advance.

Viewing 1 replies (of 1 total)

 *  Plugin Author [ben.moody](https://wordpress.org/support/users/benmoody/)
 * (@benmoody)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/problem-adding-zurb-to-wordpress/#post-8232758)
 * Zurb Foundation is a full site development framework. It’s not designed to be
   retrofitted into another framework or theme. You will find the as a standalone
   framework it’s css and js will conflict or override items when applied to an 
   existing theme or framework.
 * If you are looking to use foundation to develop a WordPress theme from scratch
   you can download the framework from zurb and use it as a base for your theme 
   development

Viewing 1 replies (of 1 total)

The topic ‘Problem adding Zurb to WordPress’ is closed to new replies.

 * ![](https://ps.w.org/zurb-foundation-5-clearing-gallery/assets/icon-128x128.jpg?
   rev=1038541)
 * [Zurb Foundation 5 Clearing Gallery](https://wordpress.org/plugins/zurb-foundation-5-clearing-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/zurb-foundation-5-clearing-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/zurb-foundation-5-clearing-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/zurb-foundation-5-clearing-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/zurb-foundation-5-clearing-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/zurb-foundation-5-clearing-gallery/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [ben.moody](https://wordpress.org/support/users/benmoody/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/problem-adding-zurb-to-wordpress/#post-8232758)
 * Status: not resolved