|
POST
|
Hi Natallya, Have you tried right-clicking the white area and selecting Inspect to look at the CSS in the browser dev tools? You can then turn on and off CSS rules until you see what might be affecting it. This is what I would do. I can look if you provide a link, but trying to diagnose a custom CSS issue with just a picture is really hard. If I had to guess, there's likely something amiss with how you're doing display level elements, positioning, or margins in your CSS.
... View more
11-04-2020
05:30 AM
|
0
|
6
|
4908
|
|
POST
|
Hi Jessica, Could you explain a bit more of what you're expecting? We're currently in the process of redesigning our content views in Hub, and it's a priority for us to make sure Hub is accessible. In Hub, we typically relied on the table (under the data tab) as an alternative to the map, since tabbing through the many, many points/lines/polygons on a map doesn't seem like an optimal experience either. Plus, our team doesn't work on the mapping engine directly, so we aren't always able to influence map interactions. Our current data table does support tabbing through the TH row, which contains sort and filter options, and then switches to arrow keys to navigate cells. We are redoing our filters as part of the content view project and our geolocation search (search within map/data) should filter both map and table. (But I see our current version has a bug.) Is this what you were inquiring about? Or were you trying to get at the idea of clustering points on the map and having those keyboard navigable?
... View more
09-29-2020
06:29 AM
|
0
|
0
|
1572
|
|
POST
|
Hi Nikolai, I am sorry you are having issues with your module. You may have more success asking this question in the ArcGIS Pro GeoNet community ArcGIS Pro as this community is for ArcGIS Hub, which is a web app and we aren't going to be as familiar with Pro.
... View more
07-06-2020
06:20 AM
|
2
|
0
|
1431
|
|
POST
|
Hi Ephraim, I reached out to a member of the ArcGIS Online product development team to ask them your question and it looks like that only URLs are accepted, at this time. They said you could generate a URL by uploading the image to your content in ArcGIS Online, but they also recommended you make sure it has the same Share permissions as your map (private vs organization vs public.) There is some ongoing consideration on how to directly upload images to the map viewer, but it's a little ways out and with no set release date yet.
... View more
06-09-2020
12:15 PM
|
0
|
0
|
756
|
|
POST
|
Hi Sandeep, I think I understand what you're asking. Unfortunately, having a section update event triggered by a button is typically achieved is through custom javascript and due to security and issues we had early on in our product where custom javascript implementations would collide with our own javascript and break standard functionality, you will not be able to modify your Hub's javascript. If you are asking about anchor links or using tabs to show/hide content inline, both of patterns are supported
... View more
06-08-2020
05:47 AM
|
0
|
1
|
842
|
|
POST
|
Hi Katie, The GeoNet post I wrote about tables was how to do HTML tables. You would not be able to use the Text Card's table button to style table background color or cell width. We handle table cell sizing automatically to make sure the output is a responsive table. The reason you see color in my examples is because I have links. You should be able to put links into your table through the Text Card. However, you are correct there does appear to be a bug in that the table is missing the controls that allow you to handle alignment or set table headers, I will report that.
... View more
04-30-2020
10:15 AM
|
1
|
2
|
1101
|
|
POST
|
Hi Kira, ArcGIS Hub is a web app that allows users to build websites, share data, and collaborate with community members through teams/events/surveys, and while your actual question is a wee bit over my head, are you perhaps asking a question directed at the ArcGIS Desktop or ArcGIS Pro GeoNet communities? (Product Communities ) You might find better luck asking directly on those forums as their members will have more specific knowledge of those tools.
... View more
04-28-2020
06:00 AM
|
0
|
0
|
1008
|
|
POST
|
Hi Adam, You can absolutely have a PDF that opens fullscreen from a link that you've put on a Hub Initiative site; however, it is the Hub link structure `...hub.arcgis.com/datasets/[id]` that is causing the PDF to open in our Item Details view. We do have a parameter that can be added to a Hub link to force a full screen, which is `/datasets/[id]?fullScreen=true` but I am observing a bug with it not actually expanding the iframe to the full height of the window even though it is hiding the metadata. I will open an issue. Alternatively, if you open the PDF in ArcGIS Online's Item Details view, then click the open button, then copy the URL from the browser address bar (it'll be long, but you do want the whole thing), you can then paste that URL as the href into the exact same link structure you have above within your initiative and it'll do what you want. I ran a test of both through my own site. Lastly, I know you didn't ask, but for accessibility and best practices, I would also recommend adding an aria-label to your link `<a href="" class="btn btn-link" aria-label="opens in new tab">`, which just warns those using assistive technologies not to be surprised when they select the link and it throws open a new tab/window.
... View more
04-20-2020
05:53 AM
|
2
|
4
|
2778
|
|
POST
|
Hello Jun, Unfortunately, it is not possible at this time to edit the search results view in Hub. While we allow customers to control the layout of their sites and pages by embedding custom CSS, we also have the concept of Views in Hub. Views are intended to be fixed layout pages that do not support custom CSS because it's too easy to break critical layout functionality by accident, and since you cannot host the hub application standalone, there is no method to edit the files directly. I know it's not what you wanted to hear, but the search results cards were designed to follow the pattern of search engines like Google in displaying up to 2 lines of title and 2 lines of description, and your full summary will be shown on the Item Details page if the viewer clicks through.
... View more
04-09-2020
12:39 PM
|
0
|
0
|
1656
|
|
POST
|
Hi Jared, A few things...you may notice looking your code that you don't have a full SVG object. (Typically, if you were embedding an SVG you'd see elements like <path> or <rect> or <ellipse>.) We are using a SVG sprite generator to support our own use of SVGs, but it involves Javascript. You can still use ours, but you need to drill down further and copy the actual object and not the wrappers we're using as part of our scripts. So inspect the icon, then expand the <use xlink> and then expand the <shadow root>, and copy the real SVG object into your header. Unfortunately, we don't have a method for you to put the follow button in your header as it requires some additional javascript that is not visible from our source code and won't work in that context, but that is an excellent idea that I will take back to our team.
... View more
02-13-2020
02:13 PM
|
1
|
0
|
1419
|
|
POST
|
Hello, I'm sorry that you're having problems with ArcMap, but I'm afraid you may not get a quick response in this forum as ArcGIS Hub is a Web App and we don't necessarily have the knowledge to diagnose issues with ArcMap. Have you tried posting this question in a GeoNet community more related to your topic? I don't know for certain, but you might have better success in this forum: ArcGIS Desktop Installation support. Alternatively, here is the list of all product communities in GeoNet: Product Communities
... View more
01-13-2020
05:38 AM
|
0
|
0
|
1846
|
|
DOC
|
We've had a few folks on GeoNet ask about how to show the active page in a Custom Header navigation menu. Due to the nature of Custom Headers being custom code, we cannot automatically detect active page. We can only do it for our out-of-the-box layouts, because we control the code and know what to expect. Furthermore, as you may have discovered using Bootstrap, placing the .active class on a page doesn't work because you write the header HTML at the site level for brand consistency, and you cannot modify your header HTML on the individual pages themselves to move the class to the now active page. However, the clever folks at Esri UK were able to find a CSS solution using the a[href] attribute. In this post, I'm going to break apart their CSS to illustrate how you can use the same techniques for your own Custom Header. Before we begin, it'll be useful if you already have a site created and a few pages. Custom Header HTML First, you need to lay out the groundwork for your Custom Header. I'm going to use a basic Bootstrap 3 layout. In the Header panel of your site, under the Appearance accordion, select the Custom HTML/CSS radio option. Then in the Custom HTML/CSS accordion, in the HTML textarea, paste in my code or use your own. (If you use your own, consider using relative URLs in your page links and don't forget to check your mobile layout. If you remove Bootstrap's button that handles responsive layouts automatically, you'll probably want to compensate with media queries.) <nav class="navbar navbar-inverse navbar-static-top">
<div class="container">
<div class="navbar-header">
<!-- Don't remove button, it ties into the ID below and is what collapses your navigation automatically in mobile layouts. -->
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
<span class="sr-only">Toggle navigation</span>
<!-- ^ This text is visible only to assistive technologies -->
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="https://css-monster-qa-pre-hub.hubqa.arcgis.com/">
<img alt="Logo" src="https://user-images.githubusercontent.com/7389593/71588103-42d41600-2aee-11ea-91a3-927ed21f3b57.png">
</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul id="highlight-hub-pages" class="nav navbar-nav navbar-right">
<li class="hp-subitem"><a href="/pages/resources">Resources</a></li>
<li class="hp-subitem"><a href="/pages/blog">Blog</a></li>
<li class="hp-subitem"><a href="/pages/contact-us">Contact Us</a></li>
</ul>
</div>
</div>
</nav> On line 1, I used the class navbar-inverse instead of navbar-default. This is mostly because we have more styling attached to navbar-default because it's used in our out-of-the-box patterns. To avoid any unnecessary style collisions, I'm going to use navbar-inverse, but I tested this with navbar-default and that worked just as well. navbar-inverse is by default, a dark themed navbar, although it's hard to tell with my site since I also use a dark theme, but you can style it however you'd like in your CSS panel. On line 17, I have added a unique ID called highlight-hub-pages. This could be anything, but it's useful to have a unique name on the unordered-list (ul) that contains your menu links. I have also added a class on each one of the child list items (lines 18-20) called hp-subitem. Lines 18-20 also contain our page links. These are relative URLs because we're not putting the whole URL, we're just putting the path we want appended to the end of our site URL. (To see an example of an absolute URL, look at line 12 for comparison, which is my site's homepage. Line 12 does not have to be absolute, I simply did it for reference.) Custom Header CSS In your Custom HTML/CSS accordion, scroll down to the CSS textarea. I removed all the CSS that came with the default site template so that I could show a barebones example for this post, but if you're using your own code for your header, you'll likely have more in this block. .navbar-inverse .navbar-nav > li > a {
background-image: none;
background-color: transparent;
padding-left: 0;
padding-right: 0;
margin-left: 15px;
margin-right: 15px;
color: #ffffff;
}
#highlight-hub-pages .hp-subitem a:hover,
#highlight-hub-pages .hp-subitem a:focus {
background-image: linear-gradient(to bottom, transparent 80%, #ffffff 81%, transparent 82%);
} Line 1 targets the necessary navbar-nav menu and its children and lines 2-8 reset the existing styles. If you're content with the solid bottom border that comes with our sites by default, then you don't need lines 2-8, and you'd replace line 13 with: background-image: linear-gradient(to bottom, transparent 92%, #ffffff 93%, #ffffff 100%); Lines 11-14 set our hover and focus states, which mimic the same visual pattern that we'll be using for the active page indicator. Save your site and we'll continue onto the pages. Styling Active Page Menu Item Return to your Customize panel and select the Pages icon in the corner, adjacent to the panel title. Find one of the pages that you linked to in your Custom Header HTML and select the title to open it. Once your page is open, select Layout and drag a Text Card onto your page. Select the Gear icon to edit your Text Card. Then select the brackets </> icon from the toolbar, which opens Code View. Paste the following Embedded CSS into the Code View and update the relative URL to that of your page. <style>
#highlight-hub-pages .hp-subitem a[href="https://community.esri.com/pages/resources"] {
background-image: linear-gradient(to bottom, transparent 80%, #ffffff 81%, transparent 82%);
}
</style> If you don't remember the slug for this page, you can return to Customize and select Page Info and your relative URL be listed at the end of the Page Slug section. Once you have updated your a[href] attribute with the URL for the current page, toggle the code view bracket </> icon back off, and Save your changes. Also, if you were using our default active styling as previously mentioned, simply use that linear-gradient (92%-93%-100%) instead. You will need to add this style section via the Text Card to each page you featured in your Custom Header and you will need to update the a[href] attribute to the active page's URL each time, but after you complete those steps, you essentially have a custom header that displays active page markers.
... View more
12-30-2019
01:30 PM
|
1
|
2
|
8708
|
|
POST
|
Hi Tom, It looks like you might have found a bug given or that you have CSS that is leaking outside of normal expectations (since your edit mode navbar breadcrumbs are also busted.) Would you be willing to reach out to me by DM so we can figure out a way that someone on our side can view or login to this page since I see it's not shared publicly?
... View more
12-20-2019
06:27 AM
|
1
|
1
|
1613
|
|
POST
|
Hi Dario, I would personally would not recommend automatically moving images as it'd affect your ability to pass this accessibility guideline: Understanding Success Criterion 2.2.2: Pause, Stop, Hide. One of the reasons you don't see any cards that support autoplaying content in Hub is that to a visitor, it can be quite jarring to land on a page and not have any immediate means via keyboard to disable moving content, and a number of our customers have laws pertaining to accessibility compliance in their countries. You could try something like https://css-tricks.com/can-get-pretty-far-making-slider-just-html-css/. It does not autoplay content, but allows you to have something a little closer to a slider. It's passably navigable in VoiceOver, NVDA, and by keyboard as a sighted individual. You'd want to make sure you have alt text on your images or actual text on your slides though. If you really want to have autoplaying content, you could build a news ticker and host it somewhere else outside of Hub and then iframe it onto your Hub site.
... View more
12-16-2019
11:11 AM
|
0
|
0
|
1119
|
|
POST
|
Hi Colin, As of now, there are not any plans on our side for adding WYSIWYG (What You See Is What You Get) controls to custom headers. We make custom headers an available option, but we do prefer you use our suggested layouts if you want us to manage mobile and active states for you. If you, the author, of a custom header can achieve a CSS only solution for active pages - then it's entirely possible. You might look into using a[href] as an attribute selector in your CSS.
... View more
12-03-2019
09:37 AM
|
0
|
0
|
1367
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 7 | 3 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 |
2 weeks ago
|