|
POST
|
Hi Julie, This is a very weird situation. From a technical standpoint, nothing inside the iframes should be scrollable because the iframe parameter that sets scrolling is currently set to not allowed in all browsers. I have observed that any content I iframe in that is not a survey, does not scroll. Now we get to the really odd part. Certain surveys seem to support inline scrolling. The survey that I was able to scroll when I tested it out earlier is a 5.2.3 version survey that I created this past November; however, when I created a brand new survey today, I have the exact same issue as you in that the survey does respect the iframe parameter. I'm guessing that your colleague may have created their survey a little while ago too and that's why they were able to scroll. So unfortunately, this leaves us at my first response. It is currently unsupported and your colleague got a lucky window in survey versioning where this somehow got supported and overrode browser defaults (a happy bug.) But we do have an issue on our backlog to allow this parameter to be customizable so that - for example in your case - you could set it to allowed.
... View more
04-06-2018
01:10 PM
|
0
|
1
|
3976
|
|
POST
|
Hi Julie, So I took a look at the site you provided and tested out my own survey, which I added into a site through an iframe and I was actually surprised to discover that all the browsers we support (Firefox, Chrome, Safari, IE11, & Edge) were ignoring the parameter that sets the iframe not to scroll and scrolled the survey content regardless. I believe the survey team may have implemented something on their side, since our card is still blocking the parameter. Have you tried your site recently to see if the survey would scroll?
... View more
04-05-2018
01:19 PM
|
0
|
3
|
3976
|
|
POST
|
Hi Julie, Do you have a public view of the page that your colleague has that on? What browser were they using? It may very well be that certain browsers ignore the parameter and do their own thing, but I would be curious to dig in and see if it was a CSS solution.
... View more
03-30-2018
12:49 PM
|
0
|
5
|
3976
|
|
POST
|
Hi Julie, Presently, there is no way to set scrolling on iframes and you do have to adjust the height manually. Setting the scroll parameter on iframes is deprecated functionality according to web standards. However, modern browsers haven't lived up to the CSS options, so we're hoping to get the functionality added in the next couple months, as like you, others have also made this request. Thanks
... View more
03-28-2018
09:53 AM
|
0
|
7
|
3976
|
|
POST
|
Hi Krystal, If I might offer a suggestion...I know the code above that you provided is part of the default site template. While we still support that type of card, it is our goal to update new site templates to use a more accessible, more mobile-friendly version of cards for which support is already included in our codebase. While you may be able to achieve your desired look by overriding the width of the cards in the .cards-list .card class with inline or embedded styling, I would encourage actually using this code instead: http://esri.github.io/calcite-bootstrap/patterns.html#card-classic which will automatically resize your card to fill the whole space. Then you wouldn't need to center the card and could instead add a margin to your text.
... View more
03-28-2018
09:38 AM
|
0
|
0
|
1815
|
|
POST
|
You are correct. We do not support @import for files on your local machine, and at this time, you can only set two default fonts (body text, heading text) and not the iconfont. If the municipality had a license for Arial or Helvetica, it's possible they have a webfont URL, but it's also possible that they are banking on everyone having either Helvetica or Arial on their computers. You could use Roboto though since it's in Google Fonts, since it is part of their fontstack, they may be fine with the site using it by default.
... View more
01-23-2018
08:50 AM
|
0
|
3
|
2287
|
|
POST
|
Hi Kevin, Unfortunately, at this time we do not support linking out to external stylesheets, although, I do understand the desire for more robust styling and we do hope to expand upon shared themes in the future. In regards to your font question, if you set a font through Google Fonts (eg. an external URL) to change your fonts within our Theme Builder in the Site Editor, this will carry the font into your theme and it will not matter whether people have a local copy installed. That is the benefit of importing a font through this method. It removes the need for the fallback method that we used to have to do in CSS to handle the situation you have above where (not all Windows machines had Helvetica, so it rolled back to Arial.) If you set a font through Google fonts and for some unknown reason it were to fail, we do have fallback fonts in place in our code, and the first fallback font would be "Avenir Next", which is our brand font and which would be applied regardless of whether it exists on one's computer locally because we have a license to publish it across our apps. Is your issue that you are worried that you will set a font and it will not be available to all computers or is it that Helvetica is your brand font, and you need it set across the board? If so, do you have a URL for your Helvetica license? Otherwise, you may find 5 Google Web Font Alternatives to Helvetica and Arial - UltraLinx useful if you don't need an exact replica.
... View more
01-22-2018
12:59 PM
|
0
|
5
|
2287
|
|
POST
|
Could you perhaps use a photo editor to create a consistent sized canvas - like 400x300 pixels, transparent background - and then resize the logos within the context of that canvas and save them? Then you could make the logos smaller or larger based on your preferences, but the actual images would be saved with the context of consistent empty space. If you don't have Photoshop, you could also do this with Online Photo Editor | Pixlr Editor, which is a free browser based tool that is similar (it requires Flash though.)
... View more
10-27-2017
06:34 AM
|
0
|
0
|
2343
|
|
POST
|
Hello C E Howard, Your code above suggests you are using my .featured-gallery example. For those cards, you can change the width by changing the Bootstrap grid classes. So rather than use <div class="col-xs-12 col-sm-6 featured-gallery"> which basically says, "make this card 100% on phones, and 50% on all screens larger," you could change it to this for example <div class="col-xs-12 col-sm-6 col-md-4 featured-gallery"> This will give you a 100% width card on phones, 50% width card on tablets/small laptops, and 33% width card on large screens. The Bootstrap grid is based on a 12 column row, so each column-size (xs, sm, md, lg) needs to add up to 12 and this dictates width by screen-size, but you can set multiple column classes per card. You can find more information here: https://getbootstrap.com/docs/3.3/css/#grid-example-mixed-complete The image will proportionately resize height based on the width of the Bootstrap column classes; therefore you do not set a height. I would strongly recommend you use a different type of card if you wish to set height, because if you set height on .featured-gallery cards, you will break the responsive layout and it will not look good on mobile devices.
... View more
10-25-2017
09:43 AM
|
0
|
2
|
2343
|
|
POST
|
Hi Liz, Unfortunately, yes, that's about as far left as it can go. Our site template is built using a fixed-width layout of 1170px rather than a fluid-width layout. While we support fluid-width rows, so that folks can have full bleed background images, we generally avoid having content fluid-width as fluid sites can be harder to design and aren't as popular. Thank you, Klara
... View more
10-11-2017
12:54 PM
|
0
|
0
|
2326
|
|
POST
|
#csstips Hello Liz, I would recommend adding a photo credit through a Text card if you are trying to cite a row background image or perhaps a text credit through an image caption. Here is one method for providing a photo credit on the row with a link back to the author. 1. Add image as background image to row. 2. Add Text Card with desired copy or empty Text Card with min-height set to force background to be more visible <div style="min-height: 300px"></div> 3. Add another Text Card below the first. This will containing your citation. The second card may have a little extra padding at the bottom in Preview. (The padding comes from that card having a minimum height in Preview so you can have room to actually type within the card.) 4. For a photo credit, you may want to do something like this: <a href="https://flic.kr/p/9U7GzU"
style="color: white; font-size: 12px;">
Photo Credit: Plums, El.lE Photography
</a>
<a href="https://creativecommons.org/licenses/by-nd/2.0/"
style="color: white; font-size: 12px;">
(CC-BY-ND)
</a> Many creative common images require a link to the license for which the image uses, so I have included that in my snippet above. If you wished for slight opaque text, you could also replace color: white; with color: rgba(255,255,255,0.7); which decreases the opacity of the RGB value for white to ~70%. In your Layout Builder you should now have two text cards stacked horizontally in one row: Once you save your site and view it live, you should see the extra padding around the citation link go away and you will get something like this: Another popular alternative is to include photo credits and links in your footer, but since you asked to be able to do it in the row, that's what I have provided here. I hope you find it helpful. -Klara
... View more
10-04-2017
09:55 AM
|
2
|
2
|
2326
|
|
POST
|
#csstips Hello Liz, Since you are using the btn-primary class on your button, we're going to automatically apply your theme's link to any primary or default button classes. You can use inline CSS to change the styling of the buttons to more closely resemble our homepage if you wish by adding the btn-lg class after the btn class and using an embedded style tag or inline style tag to change the button's styling. With embedded styles you'd do it something like this: <style>
.btn-mine {
background-color: #000;
color: #fff;
}
.btn-mine:hover,
.btn-mine:focus {
background-color: #ccc;
color: #000;
}
</style>
<a href="#" class="btn btn-mine btn-lg">Learn More</a> Or you could style it inline like this: <a href="#" class="btn btn-lg" style="background-color: #000; color: #fff">Learn More</a>
... View more
07-24-2017
09:06 AM
|
2
|
1
|
2594
|
|
POST
|
Yup. I documented a method for you over there: https://community.esri.com/thread/194073-fixed-header-disables-html-edit-ability?q=edit%20custom%20header#comment-702930
... View more
07-24-2017
08:27 AM
|
0
|
0
|
945
|
|
POST
|
Hi Vanessa, Yes. There is a way to undo this without recreating the site by temporarily modifying the HTML code from Chrome's Dev Tools. 1) Open the Layout Editor while in Chrome. 2) Right click the navigation bar. 3) Select Inspect from dropdown menu. 4) In the Chrome Dev Tools panel, look for navbar-fixed-top and double-click on the name. 5) When navbar-fixed-top becomes an input, delete navbar-fixed-top and type navbar-default 6) Press enter. This will make the gear show back up in the Layout Builder preview. 7) Click the navbar gear, change your header code to remove navbar-fixed-top and add navbar-default back. 😎 Save.
... View more
07-24-2017
07:50 AM
|
4
|
3
|
1737
|
|
DOC
|
Update 08/15/2019: Since the original date of this post, we've made improvements to our image card and row card that make achieving a split look even easier and which works better on smaller devices. To achieve this effect, you'll want to select the Wide layout option on your Row Card, and then add an Image Card and a Text Card side-by-side. Under Options on the Image Card, toggle on Scale to Fit, which allows the image to proportionately resize and fill whatever space is available. This may mean that some of the image will be hidden off screen on smaller devices, but you can use the Focal Point control to indicate what part of the image you want to stay predominantly visible during the resizing. On the Text Card side, you may need to hit enter a couple times to vertically align your text, but the Text Card uses a transparent background and will rely on the background-color and text-color that you set in the Row Card. Note: You will see some padding on the cards when you're in edit mode. This is a result of needing room for our hover controls. It will not be visible in live mode and you will have the edge-to-edge effect after you save and view your site. -------- While designing Hub sites, you may find that you'd like to have images that bleed to the edges of your site. Unfortunately, in order to do this you would need to have a fluid-width container as the Bootstrap 3 grid depends on a set of nested elements: row, container, columns. Our app is based on a fixed-width container, which prevents columns and their content from taking up 100% of available screen space, and keeps your content from resizing past a certain maximum width. We've found this works best for the majority of sites. However, the rows which are outside of the container, are set to be fluid. This is what presently allows 100% width image and color backgrounds on rows. We're going to take advantage of that to achieve a split bleed look. Steps In Photoshop or other image editing software, create a canvas 1400 x 450 pixels. (Pixlr Editor is a free browser image editor that has similar functionality to the basics of Photoshop - it does require Flash to run.) Fill canvas with desired background color. Import photo to canvas and resize it to 50% of canvas width. Save canvas as JPEG. (Save to desktop if using Pixlr.) Upload image to web hosting somewhere to get URL. In Site Editor > Layout Builder, add a row card. In row settings, paste image URL in for background image. Set row text color. Drag two text cards into row, side by side. In text card overlaying image, delete contents, add an empty div and set min-height to maintain a specific row height. <div style="min-height: 350px;"></div> If your image is not decorative, you may want to add an aria-label to the div for web accessibility, since background images are not conveyed to assistive technologies like screen readers and do not support the alt text attribute. <div style="min-height: 350px;" aria-label="city sunrise"></div> In text card overlaying solid color, type text. <h1 style="display: inline-block; background-color: #2d2d2d; padding: 10px 20px;">
We are Making a Difference
</h1>
<p style="background-color: #2d2d2d; padding: 10px 20px;">
Welcome to our city.
</p>
While it is not necessary to add the style tags on these text elements, the reason I did so was because at some screen sizes, I observed the text briefly overlaying the image portion and I wanted the text to stay legible even in those cases.
... View more
06-30-2017
07:55 AM
|
4
|
0
|
4990
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 7 | 2 weeks ago | |
| 1 | 01-23-2026 09:56 AM | |
| 1 | 04-22-2025 07:38 AM | |
| 1 | 01-30-2025 07:00 AM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|