zurb-foundation

Putting something on top of a modal (Zurb Foundation)

霸气de小男生 提交于 2020-06-01 07:12:35
问题 I want a div to appear on top of a Zurb Foundation reveal modal. However, my div refuses to be shown on top of the modal. The z-index of the modal is 1006. When I set my on-top div to 1010, or even 99999, it still sits underneath the modal. The only way I can get it to work is by setting the foundation modal's .reveal-overlay 's z-index to 0 (even 1 puts it on top of my div), but that messes up other elements. How can I put an element on top of a Zurb Foundation modal? 回答1: Your div needs to

Putting something on top of a modal (Zurb Foundation)

让人想犯罪 __ 提交于 2020-06-01 07:08:19
问题 I want a div to appear on top of a Zurb Foundation reveal modal. However, my div refuses to be shown on top of the modal. The z-index of the modal is 1006. When I set my on-top div to 1010, or even 99999, it still sits underneath the modal. The only way I can get it to work is by setting the foundation modal's .reveal-overlay 's z-index to 0 (even 1 puts it on top of my div), but that messes up other elements. How can I put an element on top of a Zurb Foundation modal? 回答1: Your div needs to

Putting something on top of a modal (Zurb Foundation)

半世苍凉 提交于 2020-06-01 07:07:33
问题 I want a div to appear on top of a Zurb Foundation reveal modal. However, my div refuses to be shown on top of the modal. The z-index of the modal is 1006. When I set my on-top div to 1010, or even 99999, it still sits underneath the modal. The only way I can get it to work is by setting the foundation modal's .reveal-overlay 's z-index to 0 (even 1 puts it on top of my div), but that messes up other elements. How can I put an element on top of a Zurb Foundation modal? 回答1: Your div needs to

Foundation for Email valign=“middle” not working

孤街浪徒 提交于 2020-05-28 08:07:26
问题 I'm using a fresh installation of Foundation for Email, and have the following test set up: <container> <wrapper> <row> <columns large="5" valign="middle"> <img src="https://placehold.it/690x173" alt="Company Logo"> </columns> <columns large="7" valign="middle"> <h4 style="margin-bottom: 0;" class="text-right small-text-center">Thanks for your order!</h1> </columns> </row> </wrapper> </container> I expected the logo and the title to be vertically centered in their container. However, as you

Foundation for Email valign=“middle” not working

拥有回忆 提交于 2020-05-28 08:06:17
问题 I'm using a fresh installation of Foundation for Email, and have the following test set up: <container> <wrapper> <row> <columns large="5" valign="middle"> <img src="https://placehold.it/690x173" alt="Company Logo"> </columns> <columns large="7" valign="middle"> <h4 style="margin-bottom: 0;" class="text-right small-text-center">Thanks for your order!</h1> </columns> </row> </wrapper> </container> I expected the logo and the title to be vertically centered in their container. However, as you

Foundation for Email valign=“middle” not working

走远了吗. 提交于 2020-05-28 08:05:14
问题 I'm using a fresh installation of Foundation for Email, and have the following test set up: <container> <wrapper> <row> <columns large="5" valign="middle"> <img src="https://placehold.it/690x173" alt="Company Logo"> </columns> <columns large="7" valign="middle"> <h4 style="margin-bottom: 0;" class="text-right small-text-center">Thanks for your order!</h1> </columns> </row> </wrapper> </container> I expected the logo and the title to be vertically centered in their container. However, as you

How do Display A Layout With a Variable Number of Items in an Array (PHP)

浪子不回头ぞ 提交于 2020-02-25 09:44:27
问题 If I give you an array of objects, lets assume there are x number of objects how would you do the following using a grid system (bootstrap, foundation ... doesn't matter): Loop Over the array and create something that replicates: No I have been able to create this by doing: echo "<div class='row'>"; for($i = 0; $i < count($options['fields']); $i++) { // Increate the value of I and convert it from 1 to one. $numberToWord = new FreyaTheme\NumberToWord\Conversion(); $wordRepersentation =

How to set single attribute on dynamically created element

爷,独闯天下 提交于 2020-01-30 12:09:11
问题 I have to dynamically create an Anchor tag that I am adding a Foundation aspect to. One of the elements is called "data-tooltip" that Foundation uses. If I'm trying to create the following row, how do I create the "data-tooltip" element? what I've epected <a data-tooltip aria-haspopup="true">FOO</a> how I generate the element var artworkColumn = document.createElement("a"); artworkColumn.setAttribute("aria-haspopup", "true"); I've seen ways in JQuery to do this, but since the "a" element does

jquery events not firing using webpacker and coffeescript

放肆的年华 提交于 2020-01-24 18:06:30
问题 Trying to build a new rails 6 application from scratch to replace a rails 5.2 application. Trying to use webpacker with foundation-site jquery and coffeescript After a bunch of searching I've got everything loaded with webpacker. It appears to be very (maybe too) flexible in that examples use different approaches. Everything works (foundation does x-grid, callouts etc, jquery loads and I can log jquery objects, coffeescript compiles) except jquery events don't seem to fire or build a listener

Foundation 6 Mobile Search Bar Sticking to Bottom on Android

被刻印的时光 ゝ 提交于 2020-01-24 17:47:26
问题 When navigating the site http://emich.edu on Android devices (with any browser), the sticky mobile navigation menu sticks to the bottom of the page if one clicks through to another page, scrolls to the bottom of that page, and clicks the back button. A picture of the issue is attached. This should not happen; the nav should always be under the site header. We are using Foundation 6.3 and have tried several other versions. We have even tried Foundation outside of this site with no extra markup