FAQ Database Discussion Community


Browserify + Gulp + Foundation

zurb-foundation,gulp,browserify
I'm creating a boilerplate project for working with the Foundation framework using gulp and browserify with the following file structure while following this handy guide: . ├── build | ├── js | └── bundle.js | ├── stylesheets | ├── main.css | └── main.min.css | └── index.html ├── node_modules | └──...

TinyMCE - how to add custom insert template button for each template

javascript,tinymce,zurb-foundation,tinymce-4
For keeping site responsiveness and applying standard grid system (I'm using Zurb Foundation) on custom user data entered on my web application I have defined some templates in tinyMCE to insert custom user data and pages on my web application. But it only includes one button in toolbar which is...

making alert box permanently disappear after clicking the 'x'

zurb-foundation,alert
I'm trying to find a way to make the alert box of: <div data-alert class="alert-box info radius"> This is an info alert with a radius. <a href="#" class="close">&times;</a> </div> permanently disappear after the user clicks the 'x' button in the corner, right now it persists next time the user reloads...

ECONFLICT Unable to find suitable version for jquery Foundation

javascript,jquery,json,zurb-foundation,bower
I am trying to install Foundation but its continuously giving me conflict with Jquery λ bower install foundation bower foundation#x cached https://github.com/zurb/bower-foundation.git#5.5.1 bower foundation#x validate 5.5.1 against https://github.com/zurb/bower-foundation.git#x bower foundation#* cached https://github.com/zurb/bower-foundation.git#5.5.1 bower foundation#* validate 5.5.1 against https://github.com/zurb/bower-foundation.git#* bower jquery#>= 2.1.0 cached https://github.com/jquery/jquery.git#2.1.3 bower jquery#>= 2.1.0...

Cascade abide forms

javascript,validation,zurb-foundation,zurb-foundation-5
I am trying to use abide data validator with few success. I even do not succeed to have it working. I have a main page on which all the necessary javascript is called (including foundation and foundation.abide) and on this page, on user interaction, I call a "slidedown popup" for...

View Port inconsistencies between browswers for Reveal.js

javascript,css,zurb-foundation
I am buidling a website using the responsive framework Foundation v5.5.0 I want to use their Reveal Modal to have an overlay pop up and display additional articles relating to the page they are on. The reveal module works, but I've noticed inconsistencies. Chrome works fine, however in IE and...

I'm using foundation, and I don't know why my header isn't centered correctly

css,zurb-foundation
I'm pretty bad at CSS, but here is the page I'm working on: https://www.aeonvera.com/ I'm using Foundation 5. The markup for the header and subheader look like this: .imageoverlay.text-center.panel.bg-header h1.text-center = APPLICATION_CONFIG["app_name"] h6.subheader.text-center Event registration designed for dancers. (^ Slim Templating) So.. I don't know why it's not centered. It...

Full Screen Layout with Foundation for Sites

css,zurb-foundation
I am trying to create a full screen layout using Zurb's Foundation for Sites. I need to use the full width of the screen. I also want to have two columns for navigation on the left side of the screen. The layout will look something like this: +--------+--------+---------------------+ | |...

Cannot immediately destroy modal elements created with Foundation for Apps

angularjs,zurb-foundation
I'm using the ModalFactory included with Foundation for Apps to programmatically create modals which works fine, but my use case requires me to force a redraw of the modal each time it's called. However, when trying to destroy modals, I have found that the source for ModalFactory.destroy includes a 3...

Foundation Accordion not loading if not declared in HTML

javascript,html,zurb-foundation
I am fairly new to JS and i thought i understood the order in which the components of the page are loaded but this puzzles me. I'm working with foundation 5 and i am using an accordion component. In my js script i load data and put it into an...

Single page app viewport mobile using Foundation

javascript,css,mobile,responsive-design,zurb-foundation
I am using Foundation for a responsive website and have a problem with SOME mobile devices not properly scaling the viewport ONLY when you load another page via our ng-include. This loads new content into the page and the width of the page then breaks and requires horizontal scrolling. This...

I am trying to make rows that keep on going even after it starts a new one with Foundation

html,css,zurb-foundation
I know the question is kind of vague, but it is really hard to explain over words. Here is a jsfiddle of my code http://jsfiddle.net/y1yyp3o0/ I am trying to get the boxes with words to underneath the columns. So, like I want the web column to go under neath the...

Foundation Abide matching line breaks

javascript,regex,zurb-foundation
I am trying to use foundation abide to make error when my form is submitted. I cannot grasp how to allow any character to pass (limited 2000) and allow line breaks: My code trainerDescription : /^.{0,1999}$/, ...

Use Width of Nested Row in Foundation

css,zurb-foundation
Here's LAYOUT 1 (w/ sidebar) <div class="row"> <div class="main-content columns small-6> {main content} </div> <div class="columns small-6> {sidebar} </div> </div> Here's LAYOUT 2 (no sidebar) <div class="row"> <div class="columns small-12"> {main content} </div </div> Within my main content section, I have something like this <ul class="small-block-grid-1 medium-block-grid-2 large-block-grid-3"> <li>item one</li>...

How to disable backbone.js from adding /# when dialog is closed

javascript,jquery,ruby-on-rails,backbone.js,zurb-foundation
When I load my backbone page, and press back button it adds /# to the url. If I click back again it loads the empty index page from rails home view. I was able to resolve this issue by turning off turbolinks. However, when I open any foundation.js dialog, it...

Full width horizontal navigation and Foundation framework

html,css,zurb-foundation
I am trying to make horizontal navigation using css tables. When I use only plain HTML and CSS it works correctly but it doesn't when foundation css is included. It is left aligned and not full width. What am I doing wrong? Thank you very much. Plain code - http://codepen.io/anon/pen/yNgXPo...

Trying to make a grunt project working

sass,gruntjs,npm,zurb-foundation
I'm super noob to grunt I'm ready to start with this filed, but I'm stuck in a step. I've learn what it is and what is good for I've followed this quick start to make it working on my machine https://github.com/olefredrik/foundationpress Everything as worked fine until the line: npm install...

Change foundation svg color on hover

css,css3,zurb-foundation
Hello so I've seen a lot of codes regarding the hover color change on svg's but I can't get it to work. The thing is I am using foundation icons, and here is a sample code: <img src="svgs/fi-mail.svg"> Any idea on changing the color on hover?...

Floated div with uneven height align anchor tag inside horizontally

html,css,css3,zurb-foundation
I have 3 floated divs (using foundation 5 ) with content inside. Which are uneven in height all 3 floated div have a anchor tag inside as a button to open the page related to that content. I want to align the anchor tag inside the div horizontally so all...

Media queries not working (Zurb Foundation)

css,media-queries,zurb-foundation
I recently started using Zurb Foundation and am trying to use media queries in order to modify a certain .css class, but can't get it working. Below are the (as far as I know) relevant parts of the .scss files. // d. Media Query Ranges // - - - -...

How to work around @mixins naming conflicts?

sass,zurb-foundation,mixins,susy
I use Zurb Foundation along with Susy grids, they both have a mixin named "prefix". I'm using "bower" to include them in my project, so how to namespace them without changing in their source code?

Foundation SASS/SCSS Variables

sass,zurb-foundation
I am trying to move over from Bootstrap to Zurb Foundation. Bootstrap uses *-color for text colour and *-bg for background colours. I'm a little confused with Foundation's naming scheme: What is the difference between $topbar-link-bg-hoverand $topbar-link-bg-color-hover? Both their names suggest that they change the background colour of a link...

Floating image over same location as background image with responsive Foundation

html,css,css3,zurb-foundation
I have an dynamic div displaying some information that I want to position in an exact position relative to the background of the page. For example, I want to put a number 9 let's say, over the eye of a cat. In "full" resolution, this works fine, but tying the...

jQuery onclick toggle function

jquery,html,zurb-foundation
I have the following Foundation toggle element: <div class="switch radius"> <input id="x" name="switch-x" type="radio" onclick="$(this).revealProfile('no');"checked> <label for="x">No</label> <input id="x1" name="switch-x" type="radio" onclick="$(this).revealProfile('yes');"> <label for="x1">Yes</label> <span></span> </div> When clicked I would like to change the input boolean value of my hidden field from true to false: <input id="real_property_sale_reveal_owner_profile"...

Switching a side menu to off-canvas/top-menu with Foundation

jquery,html,css,menu,zurb-foundation
I am trying to achieve result like this using Foundation 5. I want the top bar and side menu to act exactly like in that template. A side menu with icons and text. I can use "show-for-large-up" class for text, so it hides in medium leaving behind only icons. But...

Foundation - Icon Bar: validation issue

html,html5,zurb-foundation
I'm trying to build the Icon Bar with the Foundation framework. The suggested, official way is: <a class="item"> <img src="../assets/img/images/fi-home.svg" > <label>Home</label> </a> I want to use Font Awesome icons and did this: <a class="item" href="http://localhost/"> <i class="fa fa-home"></i> <label>Home</label> </a> When checking this code in the Validator I get...

How do I specify a css margin-top for foundation row div?

css,zurb-foundation
How do I specify a css margin-top for foundation row div? Using the Chrome dev tools it looks like foundation.css is overriding any margin properties for .row divs - regardless of where I put the css. In the interest of getting something out the door today I have resorted to...

Can't get Zurb Foundation accordion to work

javascript,zurb-foundation,accordion
I'm using Zurb's Foundation, attempting to build a FAQ page using the accordion js. But it's not working and I have no idea why. All the js files are in the js folder. Here's my whole page: <html class="no-js" lang="en"> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <link...

How to center align Zurb Foundation block grid elements that are being pushed to the next row?

html,sass,zurb-foundation
I'm using the block grid from the Zurb Foundation framework but I'm having some issues getting it to align the way I want to. I have it set so that it displays 4 blocks per row. I have more than 4 blocks so the ones that don't fit are pushed...

Redirect to template not working after Foundation Framework installation

ruby-on-rails,zurb-foundation,partial
On my local host after having rails create a new object in the database (through a controller) I used to have my app render a template (if @object.save returns true). After installing zurb foundation the template doesn't show and neither does my flash message, the new object Investor is also...

Foundation Modal semi-transparent background cuts off

jquery,css,modal-dialog,zurb-foundation,zurb-foundation-5
Okay so here is the demo site: http://hayati.yahyauddin.com/ To see the modal, hover over a product and click the zoom button to display the quick view for the product. If you continue scrolling down, you will see that the Gray semi-transparent background stops. This problem occurs regardless of screen size!...

Foundation 5 - modifying top-bar links to have a border-bottom with SASS

sass,zurb-foundation,border,navbar
I'm working on a Foundation 5 site and need to customize the .top-bar navigation menu. I am using the SASS version of Foundation. I'm having difficulty modifying the active and hover styles for the menu links using SASS. I've changed their colors, however I want to add a border-bottom to...

How can we display dynamic grid layout like the attached screenshot also order by number with the help of bootstrap

php,html,css,twitter-bootstrap,zurb-foundation
I want to make a layout like the attached image.Blocks will render on the page in the same order number. For example :- block(1) will show first after then block (2) and so on... ...

Browserify with Zurb Foundation Framework

jquery,zurb-foundation,gulp,browserify,browserify-shim
I'm trying to figure out how to properly bundle the foundation framework js with browserify. In my project folder, I install it along with jQuery (which it depends on): npm install jquery foundation-sites --save Then in my main.js I have the following: var $ = jQuery = require('jquery'); var foundation...

Zurb Foundation Tooltip: bottom tooltip, but have pip on the right

tooltip,zurb-foundation,pip,right-align
I currently have a short link that I want a Foundation tooltip for, and the tooltip has to be beneath the link (tip-bottom). Normally, the Foundation tooltip has the pip on the left (and the tooltip expands to the right), but this won't work for me because my link is...

Benefits of Moving Bower Components before using?

gruntjs,zurb-foundation,gulp,bower
When using Bower Components, I tend to link directly to the files located in the bower_components directory. For example when I work with Foundation, here is how I link my JavaScript file: <script type='text/javascript' src='../bower_components/foundation/js/foundation.min.js'></script> However, I've noticed a lot of people copy the Bower components to a library directory...

Rails 4: HTML Code Inside Link_to

ruby,ruby-on-rails-4,zurb-foundation,zurb-foundation-5
On the output I'd like to have this: <%= link_to '&pound;', '#' %> to show: £ I wish not to input "£" as is, I need to input the html code for £. Is there a way? I'm trying to accomplishe this: http://foundation.zurb.com/docs/components/alert_boxes.html...

Creating multiple themes (css files) with Foundation, Grunt, Sass

sass,gruntjs,zurb-foundation
I would like to create a number of different themes for foundation for my Foundation web app (basically switch color schemes for different customers). I am still very new to Sass, libsass and grunt. Basically what I want is something like: have two different _settings.scss files _settingsA.css $primary_color: #cc3333; ......

Button style in top bar in Foundation?

css,zurb-foundation,zurb-foundation-5
Is it possible in Zurb Foundation to have a normal button in the top bar menu items? Here is an example: The black button is what I'm trying to accomplish. Here is what the HTML currently looks like: <div class="contain-to-grid"> <nav class="top-bar" data-topbar="" role="navigation"> <ul class="title-area"> <li class="name"> <h1> <a...

Sass Foundation Underscores Project Structure, removing git folder and package.json file

wordpress,git,sass,zurb-foundation,gulp
I am attempting a test dev setup of a foundation/underscores wordpress theme. I have a wordpress install, and to that I added an underscores theme. I then made a folder in this called foundation and installed foundation ( sass using bower ) into that. I will get it all working...

Assigning a data attribute without a value to an Ember component

ember.js,zurb-foundation,ember-cli
I'm relatively new to Ember and am incorporating Foundation 5 into an ember-cli app using the ember-cli-foundation-sass addon. I'm building an Ember component for Foundation's topbar element, and I need to set a data-topbar on the nav like so: <nav class="top-bar" data-topbar role="navigation"> <!-- ... --> </nav> Is there any...

Cannot find git while installing foundation

ruby,git,zurb-foundation
I am new to ZURB Foundation and trying to install it through Ruby CLI. I have successfully installed ZURB Foundation and now I want to create a new project with this command: foundation new myFound It gives me an error saying: Can't find Git. I have installed Git on my...

Custom grid in foundation?

sass,zurb-foundation,zurb-foundation-5
I need a different sized grid within the standard grid layout. I'm using sass and have tried: .row-30{ @include grid-row($total-columns: 30); } Here's the HTML: <div class="row-30"> <div class="small-5 columns">a 5 col</div> <div class="small-1 columns end">a 1 col</div> </div> I'm having no luck though. Where am I going wrong with...

Using Zurb Foundation with Dreamweaver

css,zurb-foundation,dreamweaver
I am trying to use Zurb Foundation with Adobe Dreamweaver 2014. I have created a site from a directory which has the foundation files in. But when I view the page in the editor is is completely wrong. Where as when I open the page in any browser it look...

Foundation Tooltips aren’t working; instead show default browser tooltip

jquery,html,tooltip,zurb-foundation
I am using the latest version of Foundation and am attempting to implement their Tooltips feature on my site. I have directly copied and pasted their example from their webpage on Tooltips but it doesn’t work. I’ve linked to all the files they instructed at the same webpage, and I...

Foundation and Wordpress blank spaces

wordpress,zurb-foundation
Anyone has an idea about the blank spaces that I'm getting in a while loop with wordpress using foundation framework? <div class="large-8 columns"> <?php query_posts(array('category_name' => 'revista', 'paged' => get_query_var('paged'), 'posts_per_page' => 9 )); ?> <?php while ( have_posts() ) : the_post(); ?> <article class="boletin large-4 columns" style="min-height:1px;"> <a href="<?php...

How to create custom grids in Foundation 5 that apply to all media queries?

css,css3,sass,zurb-foundation
I need to be able to create custom grids with more than the default 12 columns that I can apply to different elements in my markup (e.g. header, footer, section, etc). During my research I've seen a way to accomplish this by creating a mixin like this: .app-navbar { $total-columns:18;...

zurb foundation make column width persist across screen sizes without individual declarations

html,css,zurb-foundation,multiple-columns,grid-layout
Using zurb foundation, I'm looking to have a single class declaration that will persist across media query breakpoints. For instance, if I wanted to create a div that was 10 columns no matter if it were being viewed on a desktop or a phone. I realize this can be accomplished...

Sticky footer jumps up on mobile screen

html,css,zurb-foundation
In my web app I have a sticky footer for small screens. The issue is that the sticky footer jumps up and down depending upon the state of the keyboard. I am looking for it to be overlay by the mobile keyboard. Here is the css for the sticky footer...

ASP.Net MVC Helper Breaks Foundation Zurb

asp.net-mvc,html5,zurb-foundation,asp.net-mvc-helpers
I have one problem with the MVC helper CheckboxFor. I found that the generated HTML code create a hidden field and that breaks the style on foundation zurb. I am using this helper on the View: @Html.CheckBoxFor(model => model.Client.Contact.IsLocked) @Html.LabelFor(model => model.Client.Contact.IsLocked) And the generated code is this one: <input...

Foundation Row preventing fullscreen webpage

javascript,jquery,html,css,zurb-foundation
I'm trying to make a webpage which is 100% width using the foundation framework, which works fine up until the point where I try to add "div class="row" " container. What i want, is two images next to eachother, taking up 8 columns and 4 columns respectively. These images should...

Zurb foundation can't focus input field inside modal

html5,input,modal-dialog,zurb-foundation,zurb-foundation-5
I am trying to set the focus of an input field inside my form when I reveal a modal using ZURB Foundation framework. I am really truly sorry if this question has been asked before I've been having problems finding a solution to this for a while. This is what...

FoundationPress Couldn't delete file: Failure in sftp

php,wordpress,ssh,zurb-foundation,sftp
So I've began doing development for a WP site and have started doing the development on my local machine and then transferring my work over through a sftp to a separate server. For the theme development I tried using FoundationPress for the front-end framework for creating a theme. I worked...

How Can I Disable “Pinch Zoom” in Foundation Framework?

javascript,jquery,html5,css3,zurb-foundation
Can I disable "Pinch Zoom" in my web application ? How ? Or that the application locks in responsiveness that it detects when you open the application? Is that possible?...

change jquery ui images to icon

jquery,css,jquery-ui,zurb-foundation
In my app I am using Jquery ui. I think that most of the plugins in Jquery ui uses a lot of images. Like for date picker, the next and previous icons are images. I was thinking of changing those images to icons. I am using Foundation and trying to...

Foundation TopBar: Position Title in Center

html,css,zurb-foundation
I'm using Foundation's top-bar and I want to position the title, "Home" in the center of the top-bar while keeping my "Menu" in the end of the right side. However, what I'm getting from my code is my "Home" still stays in the left side and my "Menu" is on...

CSS Foundation Use Different Column Count in Container

css,zurb-foundation
I'm using the ZURB Foundation package, which relies on the grid system of 12 total columns. I don't want to change the total column count for the entire project, but rather just for one element's contents. How can I change say a <row> to use an 8 column count as...

Carousel behind transparent cutout in PNG image

html,css,zurb-foundation,banner,slick-carousel
Having issues with what I assumed would be a simple task, maybe just need another set of eyes. We have a banner image and on the right side is a computer monitor. the "screen" has been cut out so that portion of the banner is transparent (.PNG). I need to...

Does top bar work without JavaScript in Zurb Foundation 5?

javascript,css,html5,zurb-foundation
I'm currently evaluating Zurb Foundation and tried to create a top bar with a menu. Somehow the links in my dropdown menus didn't work so I went basic: I downloaded the zip, took their index.html and replaced the contents with the example from the top bar documentation. After removing everything...

Inline ul with input when using Foundation

html,css,zurb-foundation
I'm using Foundation and I'm having difficulties in getting a list to display inline with an input field. I have a Plunkr: http://plnkr.co/edit/jKWAWs6oI0TT44vJWvKu?p=info My markup is as follows: <body> <div class="row"> <div class="small-3 columns"> <label class="right inline">Label</label> </div> <div class="small-9 columns"> <input type="text" /> <ul> <li>Item 1</li> <li>Item 2</li> </ul>...

Change foundation icon when clicked

css,zurb-foundation
I'm trying to figure out how to change the icon of button when clicked. <div class="row"> <a class="slideout-button"><i class="general foundicon-left-arrow"></i </a> </div> I want to change to "foundicon-right-arrow" when the slider is open. Do you guys know how?...

how to close an open content panel in foundation zurb tab

jquery,zurb-foundation
here's my zurb foundation code with tabs : http : // codepen.io/vomaringo/pen/RPRdRr I had like to close a panel tab by clicking in the tab again. could it be done in zurb foundation with an option or could you help me with jquery? Thanks for reading my post. Regards Jack...

How can i avoid conflicts of two css frameworks?

css,kendo-ui,zurb-foundation
I am using Foundation CSS framework and Kendo UI grid in my project The Kendo UI grid sometimes overridden by foundation CSS thing. How can I avoid this conflicts?...

Align Foundation 5 clearing lightbox items to the center

zurb-foundation
I am trying to align the items in a clearing lightbox to the center. The lightbox aligns the items to the left for default. Here is the current situation: According to this answer you can align them in the tabs component using float: none !important; display: inline-block; But for the...

Make columns always equal height? (Foundation 5)

zurb-foundation
How to create a layout as shown in the image? The first column left and the second column right should always be the same height, depending of the first column height, using Foundation 5. ...

Issue with Slick Carousel in AJAX modal (Foundation Reveal)

ajax,zurb-foundation,zurb-reveal,slick-carousel
I'm using Reveal to show more info and within that there's a carousel using Slick. The content inside the Reveal modal is pulled in via AJAX. The problem I'm seeing is that when Reveal opens up, the carousel loads without the first image, moves to the second image (where there's...

Zurb Foundation show modal after validation

jquery,meteor,zurb-foundation
I'm using Foundation in my project. When the form is submitted, modal is opened with some message. I want to open modal if validation is ok. How to achieve this? I've tried adding attributes data-reveal etc. but nothing is happening.

Foundation grunt/libsass sourcemap give wrong path when inspected

sass,gruntjs,npm,zurb-foundation,libsass
I just setup a new project to test the libsass. Installed Foundation, bower and grunt. The project is running fine with grunt watch. Then I open the project in Chrome -->DevTools. I'm inspecting the css generated by the default app.scss, All my style are mapped to _visibility.scss, when those stlye...

Change Foundation Options in Meteor Application

css,meteor,zurb-foundation
I need to change where the breakpoints are for screen widths in terms of showing and hiding elements if the user's screen is in a particular size. The project I'm working in is a Meteor project with the foundation CSS library. I'm used to doing everything with PHP/JS with the...

No right floating for small-state in Foundation-framework

css,css-float,zurb-foundation
I have a <p class="right"> in my Zurb Foundation-based layout. But I don't want it to float right on small screens. Is there a built-in solution in Foundation? Or do I have to create my own class for it? Thanks in advance!

Zurb Foundation adjust topbar dropdown height

css3,sass,zurb-foundation,zurb-foundation-5
I have adjusted the height of topbar within _topbar.scss to 76 though this also seems to be affecting the dropdown // Height and margin $topbar-height: rem-calc(76) !default; I have changed around 430 to the following, which reduces the height of the dropdown, but then pushes the top margins out on...

Unrecognized Expression in Foundation

zurb-foundation
I am using Zurb Foundation within an ember-cli based application and whilst the application runs fine on my laptop (OS X running Google Chrome) it always throws up an error whilst running tests; unrecognized expression: [data-'Times New Roman'-offcanvas]. I also see the same error when running the application normally in...

Zurb foundation margin between 2 columns

html,css,zurb-foundation,two-columns
I am trying to put a padding/margin of 10 px between 2 columns. But when I do then the 2nd column breaks. html code <div class="row collapse"> <div class="large-6 medium-6 small-12 columns">Content 1</div> <div class="large-6 medium-6 small-12 columns">Content 2</div> </div> If I remove collapse then column adds padding to it's...

Open image in modal foundation

jquery,zurb-foundation
I want to open an img in a modal with foundation. I have the following code: <img src="images/medium/Pluto.jpg" style="margin-left:10px;margin-right:10px; max-height:150px;max-width:150px"/> and <div id="modalDialogPhotoView" class="reveal-modal " data-reveal> </div> I will create an event onclick on the photo and show that photo in the modalDialogPhotoView. How can i do that?...

Foundation framework form does not refresh on new instantiation

jquery,ajax,forms,zurb-foundation
I have developed a form in foundation framework. It is fired through a link and loads in modal. It is fired through <a class="add-btn button right small" data-reveal-id="addModal">Add Contact</a> It points to a div with id="addModal" in the same file. <div id="addModal" class="reveal-modal" data-reveal> <h2>Add Contact</h2> <form id="addContact" action="#" method="post">...

Zurb Foundation is overriding my custom cancel button's background when disabled

button,zurb-foundation
I added a new class called cancel for our cancel button. from _settings.scss $cancel-button-bg-color: $charcoal; $cancel-button-bg-hover: lighten($cancel-button-bg-color, 20%); from _buttons.scss .cancel { background: $cancel-button-bg-color; &:hover { background: $cancel-button-bg-hover; } } The color I assigned to the cancel button is #555555 or $charcoal. The cancel button's background color gets displayed properly....

Zurb Foundation grid or block grid not working with vertical tabs

html,tabs,grid,zurb-foundation,zurb-foundation-5
I have a set of vertical tabs, and when I try and nest in some grid or block grid elements everything seems to overflow outside of the element i.e the 1,2,3 should be in the right section of the below image <div class="row"> <div class="medium-8 columns"> <ul class="tabs vertical" data-tab>...

masonry only works properly after window resize

php,html,wordpress,zurb-foundation,masonry
Site: www.zrrdigitalmedia.com When images load in the project section masonry overlaps it into the next. When you resize the window and back it's looking fine - like how it did on my XAMPP site. Below's the HTML code used for the project's section where the Masonry part is contained (didn't...

What is the difference between `bower install foundation` and `foundation new MY_PROJECT`

sass,gruntjs,zurb-foundation,gulp,bower
On the foundation github page the recommended way to install foundation is bower install foundation yet in their documentation they suggest using foundation new MY_PROJECT. On the documentation page the first method is only listed under the "using a task runner" section. Both methods give different file structures. Are both...

why does not work with Foundation widget?

javascript,css,zurb-foundation
I hava a problem. <nobr> <a href="#" class="button">Button 3</a> <ul class="button-group"> <li><a href="#" class="button">Button 1</a></li> <li><a href="#" class="button">Button 2</a></li> <li><a href="#" class="button">Button 3</a></li> </ul> </nobr> I want to display all Button in a row but not worked....

how to make zurb foundation framework off canvas look flat

css3,zurb-foundation
Sorry for a noob question. I'm not good at css but how to make foundation framework off canvas look flat? It seems has a gradient at the very edge that makes it look like a 3D and I don't like it. Thanks for the answer! I edited my question, added...

using import foundation in rails

ruby-on-rails,zurb-foundation,compass
In assets/stylesheets/application.css.scss I have these lines @import "compass/css3"; @import "foundation"; @import 'foundation-icons'; But @import "foundation" fails with this errror Invalid CSS after "": expected media query list, was ""only screen an..." (in app/assets/stylesheets/application.css.scss:143) Here is my Gemfile gem 'rails-dev-tweaks' gem "compass-rails" gem "zurb-foundation", '~> 4.0.0' gem "foundation-icons-sass-rails" gem 'bootstrap-sass-rails' What...

Zurb Foundation: Block Grid refresh

zurb-foundation
Assuming I have 10 blocks in a Foundation "Block Grid" (where these blocks are equally spaced by the Block Grid) in 3 columns. That gives me 3 rows of 3 blocks and 1 row of a single block. If I dynamically add a class with display:none to, let's say, first...

Stuck on installing dependencies with bower (foundation new)

npm,zurb-foundation,bower
I followed this guide to install foundation on my Windows 8.1 PC. http://foundation.zurb.com/forum/posts/11597-how-to-install-grunt-and-libsass-on-windows When I get to Step 16 my cmd prompt gets stuck on "Installing dependencies with bower...". I have had foundation work on my computer before but I recently had to reformat it. Thanks for any help. ...

Foundation Top-Bar not working at certain sizes

css,zurb-foundation
I'm using Zurbs responsive framework foundation. I decided I wanted the top bar to turn into a hamburger icon at a larger screen, because I have a lot of menu options and they push down to two lines when viewing the site on a medium sized screen such as a...

weird positioning top bar zurb foundation 5

html,css,zurb-foundation,zurb-foundation-5
Hi guys so a site I've been working on is acting up and has randomly re-positioined itself wierdly on the top bar and I have no idea why. I thought everything was fine before, however recently I saw the site and it just so happened that theres a wierd space...

Zurb Foundation topbar dropdown disappears on small screens

css,responsive-design,zurb-foundation,navigationbar
This is troubling because the only reason I want a topbar is for smaller screens. The dropdown works fine in medium and large, but disappears on smaller screens. I've read it needs to be inside a 12-width column, but that doesn't seem to help. It actually introducted another (minor) problem...

Foundation li:hover background-color

html,css,zurb-foundation
I started today with the framework Foundation. I picked a defined navigationbar from the page. Now i want to add, if someone hover over a li the background-color of the element should change (maybe with transition). But i dont know how to speak to the element. My Code is here...

Foundation navigation top-bar not working with thymeleaf

javascript,jquery,html,html5,zurb-foundation
I have an HTML template file which uses Spring MVC + thymeleaf and I'm trying to create a navigable menu at the top of the page using Foundation's "top-bar" component. So far, the menu bar is displayed but menus are not being shown when the cursor is placed on top....

Foundation 5 - New
  • items now showing in existing dropdown buttons
  • zurb-foundation
    When I add new list items to an existing dropdown button they do not show up on the front end. The dropdown just continues to show the original list items. All my caching systems are off and I cleared the cache locally, but I'm still getting the same issue. Anyone...

    Opening modal form without navigating to new page in rails

    ruby-on-rails,zurb-foundation
    I have a website where a user has a 'Groups' page, and in order to create a new group, that user currently has to click on the New Group button, which directs them to the localhost/groups/new page. I'd like to get rid of that page, and replace it with a...

    Foundation framework's off-canvas not showing properly [closed]

    html,css,zurb-foundation
    So, I downloaded the Foundation framework yesterday, I tried using the normal layout they use, this is my problem: It's showing like this: And should look like this: Well, how do I fix it? I'm only using foundation CSS, and I copied the exact code for "Off-Canvas Multilevel Menu", in...

    HTML&CSS: Foundation as floating div on the fullpage.js plugin

    jquery,html,css,zurb-foundation,fullpage.js
    I'm trying to use foundation as a floating div on top of my fullpage The foundation has some interactive elements in it (changing text sizes, etc) example can be seen here: http://goedgevonden.net/laurent/examples/index.html everything is working so far so good the only problem is that the content of the slides moves...

    How to position “:before” element used as icon in zurb foundation's Side nav?

    html,css,zurb-foundation
    I added a sub-menu to foundation's side nav exactly like in this example, but the icon is above the text. My CSS: .hasChildren:before{ content: "\25ba"; float: left } .hasChildren.active:before{ content: "\25bc"; } My HTML: <div class="large-4 medium-4 columns menu-wrapper"> <div class="panel"> <h4>Menu</h4> <ul class="side-nav"> <li><a href="#">Link 1</a></li> <li><a href="#">Link 2</a></li>...

    Foundation Range Slider Cannot Impose Limits

    javascript,jquery,slider,zurb-foundation
    I currently have a screen that can have multiple range sliders on it. Each slider has a total range of 0 to the maximum the combination of sliders can have. For example start: 0; end: 20; Within my application I would like to set some limits for the values a...

    Foundation Clearing Lightbox Caption Position

    zurb-foundation
    By default, the caption of the ZURB Foundation clearing lightbox is located below the image. Does anybody know how I can position it above the image?...

    Zurb Foundation Top-bar Dropdown and Menu not working

    html,css,zurb-foundation
    <nav class="top-bar" data-topbar role="navigation"> <ul class="title-area"> <li class="name"> <h1><a href="#">Welcome</a></h1> </li> <!-- Remove the class "menu-icon" to get rid of menu icon. Take out "Menu" to just have icon alone --> <li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li> </ul> <section class="top-bar-section"> <!-- Right Nav Section --> <ul class="right"> <li class="has-dropdown">...

    Foundation Grid putting small panels before larger panels

    html,css,responsive-design,zurb-foundation
    I'm trying to create a visual only (no text, except for captions) style webpage. To give this page the best look, I want each clickable box to be a different size. Here's what i want. __________________________ | | 2 | | 1 |_______| | | 3 | |_________________|_______| |_4_|_5_| 8...

    How to collapse accordion control only for small device

    zurb-foundation
    I need to put the accordion control on my site. My requirement was in desktop or large device the accordion should be an open state by default. If its the mobile or small device it should be collapsed by default. How can I do that?

    text of indeterminate length and line in HTML/CSS the “right” way

    html,css,zurb-foundation
    I am using Zurb Foundation for page layout. A row on my page needs have some text and then a line that fills the rest of the width, like so: | Text of Indeterminate Length -------------------------------------- | I have the desired layout working with <table> and <hr> tags: <div class="row">...