css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <!--
Arlo Web Control Demo - Venues Widget - Theme1
Documentation: https://developer.arlo.co/doc/webcontrols/venue
-->


    <!-- Target Elements -->
    <div class="arlo">
        <div class="arlo-venues-widget">
            <div class="arlo-venue-widget-intro">
                <h3 class="arlo-text-color-primary">Check out our venues</h3>
                <h1><a href="#widget-venues">Venues</a></h1>
                <p class="arlo-text-color-normal">Along with the key venues below, we also have venues dotted all over the place. <a href="/venue-list/">View all venues and venue details</a></p>
            </div>
            <div id="venues-widget"></div>
            <div class="arlo-venue-widget-footer">
                <h1>Your place</h1>
                <p>Want us to run a custom course? <a href="#">Enquire about a course onsite at your place</a></p>
            </div>
        </div>
    </div>

    <!-- Templates -->
    <script type='text/template' id='venues-widget-template'>
        <% if (ViewUri !== "") { %>
        <h2 class="arlo-venue-heading">
            <a href="<%= ViewUri %>">
                <%= PhysicalAddress.City %>
            </a>
        </h2>
        <% } else { %>
        <h2 class="arlo-venue-heading">
            <%= PhysicalAddress.City %>
        </h2>
        <% } %>

        <p class="arlo-venue-name arlo-text-color-normal"><%= Name %></p>

        <div class="arlo-map-container">
            <%= createMap({ width: 'auto', height: 150, zoom: 16, type:'dynamic' }) %>
        </div>

        <div class="arlo-venue-information arlo-text-color-normal">
            <div class="arlo-venue-content">
                <div>
                    <%= PhysicalAddress.StreetLine1 %>
                </div>
                <div>
                    <%= PhysicalAddress.StreetLine2 %>
                </div>
                <div>
                    <%= PhysicalAddress.StreetLine3 %>
                </div>
                <div>
                    <%= PhysicalAddress.StreetLine4 %>
                </div>
                <div>
                    <%= PhysicalAddress.Suburb %><% if (PhysicalAddress.Suburb && (PhysicalAddress.City || PhysicalAddress.State || PhysicalAddress.PostCode)) { %>,<% } %>
                    <%= PhysicalAddress.City %>
                    <%= PhysicalAddress.State %>
                    <%= PhysicalAddress.PostCode %>
                </div>
                <div>
                    <%= PhysicalAddress.Country %>
                </div>
            </div>

            <% if (ViewUri !== "") { %>
                <a href="<%= ViewUri %>" class="arlo-view-all-venue-information">View all venue information</a>
            <% } %>

            <% if (ViewUri !== "") { %>
                <a href="<%= ViewUri %>" class="arlo-view-upcoming arlo-button arlo-bg-color-primary">View upcoming</a>
            <% } %>

        </div>


    </script>

<!-- Dependencies -->
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAQecSspMnsipB9oV0N4WKbqFNy5zhlNwg"></script>
<script type="text/javascript" src="//packages.arlocdn.net/jscontrols/1.0/resources/resizesensor.js" charset="utf-8"></script> 
<script type="text/javascript" src="//packages.arlocdn.net/jscontrols/1.0/resources/elementqueries.js" charset="utf-8"></script> 
<script type="text/javascript" src="//connect.arlocdn.net/jscontrols/1.0/init.js" charset="utf-8" defer="defer"></script>

            
          
!
            
              html {
  box-sizing: border-box; }

*, *::after, *::before {
  box-sizing: inherit; }

/* ----- Breakpoints ----- */
/* ----- Colours ----- */
/* ----- Sizes ----- */
body {
  margin: 0; }

.arlo .arlo-venues-widget {
  font-size: 16px;
  /* ----- Fonts ----- */
  font-family: "Source Sans Pro", Arial, Tahoma, sans-serif;
  /* ----- Clearfix ----- */
  /* ----- Custom resets ----- */
  font-size: 14px;
  /* ----- Venues widget ----- */ }
  .arlo .arlo-venues-widget .arlo-loading-overlay {
    position: fixed;
    z-index: 999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    bottom: 50%;
    top: 50%;
    left: 50%;
    right: 50%;
    /*
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    */
    /* Transparent Overlay */
    /* :not(:required) hides these rules from IE9 and below */ }
    .arlo .arlo-venues-widget .arlo-loading-overlay:before {
      content: '';
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(255, 255, 255, 0.3); }
    .arlo .arlo-venues-widget .arlo-loading-overlay:not(:required) {
      /* hide "loading..." text */
      font: 0/0 a;
      color: transparent;
      text-shadow: none;
      background-color: transparent;
      border: 0; }
    .arlo .arlo-venues-widget .arlo-loading-overlay:not(:required):after {
      content: '';
      display: block;
      font-size: 10px;
      width: 1em;
      height: 1em;
      margin-top: -0.5em;
      -webkit-animation: spinner 1500ms infinite linear;
      animation: spinner 1500ms infinite linear;
      border-radius: 0.5em;
      box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0; }
@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg); } }
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg); } }
  .arlo .arlo-venues-widget html {
    font-family: sans-serif;
    /* 1 */
    -ms-text-size-adjust: 100%;
    /* 2 */
    -webkit-text-size-adjust: 100%;
    /* 2 */ }
  .arlo .arlo-venues-widget body {
    margin: 0; }
  .arlo .arlo-venues-widget article,
  .arlo .arlo-venues-widget aside,
  .arlo .arlo-venues-widget details,
  .arlo .arlo-venues-widget figcaption,
  .arlo .arlo-venues-widget figure,
  .arlo .arlo-venues-widget footer,
  .arlo .arlo-venues-widget header,
  .arlo .arlo-venues-widget main,
  .arlo .arlo-venues-widget menu,
  .arlo .arlo-venues-widget nav,
  .arlo .arlo-venues-widget section,
  .arlo .arlo-venues-widget summary {
    display: block; }
  .arlo .arlo-venues-widget audio,
  .arlo .arlo-venues-widget canvas,
  .arlo .arlo-venues-widget progress,
  .arlo .arlo-venues-widget video {
    display: inline-block; }
  .arlo .arlo-venues-widget audio:not([controls]) {
    display: none;
    height: 0; }
  .arlo .arlo-venues-widget progress {
    vertical-align: baseline; }
  .arlo .arlo-venues-widget template,
  .arlo .arlo-venues-widget [hidden] {
    display: none; }
  .arlo .arlo-venues-widget a {
    background-color: transparent;
    /* 1 */
    -webkit-text-decoration-skip: objects;
    /* 2 */ }
  .arlo .arlo-venues-widget a:active,
  .arlo .arlo-venues-widget a:hover {
    outline-width: 0; }
  .arlo .arlo-venues-widget abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    text-decoration: underline dotted;
    /* 2 */ }
  .arlo .arlo-venues-widget b,
  .arlo .arlo-venues-widget strong {
    font-weight: inherit; }
  .arlo .arlo-venues-widget b,
  .arlo .arlo-venues-widget strong {
    font-weight: bolder; }
  .arlo .arlo-venues-widget code,
  .arlo .arlo-venues-widget kbd,
  .arlo .arlo-venues-widget samp {
    font-family: monospace, monospace;
    font-size: 1em; }
  .arlo .arlo-venues-widget dfn {
    font-style: italic; }
  .arlo .arlo-venues-widget h1 {
    font-size: 2em;
    /* Set 1 unit of vertical rhythm on the top and bottom margins. */
    margin: 0.75em 0; }
  .arlo .arlo-venues-widget mark {
    background-color: #ff0;
    color: #000; }
  .arlo .arlo-venues-widget small {
    font-size: 80%; }
  .arlo .arlo-venues-widget sub,
  .arlo .arlo-venues-widget sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline; }
  .arlo .arlo-venues-widget sub {
    bottom: -0.25em; }
  .arlo .arlo-venues-widget sup {
    top: -0.5em; }
  .arlo .arlo-venues-widget img {
    border-style: none; }
  .arlo .arlo-venues-widget svg:not(:root) {
    overflow: hidden; }
  .arlo .arlo-venues-widget figure {
    margin: 1.5em 40px; }
  .arlo .arlo-venues-widget hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */ }
  .arlo .arlo-venues-widget pre {
    font-family: monospace, monospace;
    font-size: 1em; }
  .arlo .arlo-venues-widget button,
  .arlo .arlo-venues-widget input,
  .arlo .arlo-venues-widget optgroup,
  .arlo .arlo-venues-widget select,
  .arlo .arlo-venues-widget textarea {
    font: inherit;
    /* 1 */
    margin: 0;
    /* 2 */ }
  .arlo .arlo-venues-widget button {
    overflow: visible; }
  .arlo .arlo-venues-widget button,
  .arlo .arlo-venues-widget select {
    /* 1 */
    text-transform: none; }
  .arlo .arlo-venues-widget button,
  .arlo .arlo-venues-widget html [type="button"],
  .arlo .arlo-venues-widget [type="reset"],
  .arlo .arlo-venues-widget [type="submit"] {
    -webkit-appearance: button;
    /* 2 */ }
  .arlo .arlo-venues-widget button,
  .arlo .arlo-venues-widget [type="button"],
  .arlo .arlo-venues-widget [type="reset"],
  .arlo .arlo-venues-widget [type="submit"] {
    /**
     * Remove the inner border and padding in Firefox.
     */
    /**
     * Restore the focus styles unset by the previous rule.
     */ }
    .arlo .arlo-venues-widget button::-moz-focus-inner,
    .arlo .arlo-venues-widget [type="button"]::-moz-focus-inner,
    .arlo .arlo-venues-widget [type="reset"]::-moz-focus-inner,
    .arlo .arlo-venues-widget [type="submit"]::-moz-focus-inner {
      border-style: none;
      padding: 0; }
    .arlo .arlo-venues-widget button:-moz-focusring,
    .arlo .arlo-venues-widget [type="button"]:-moz-focusring,
    .arlo .arlo-venues-widget [type="reset"]:-moz-focusring,
    .arlo .arlo-venues-widget [type="submit"]:-moz-focusring {
      outline: 1px dotted ButtonText; }
  .arlo .arlo-venues-widget input {
    overflow: visible; }
  .arlo .arlo-venues-widget [type="checkbox"],
  .arlo .arlo-venues-widget [type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */ }
  .arlo .arlo-venues-widget [type="number"]::-webkit-inner-spin-button,
  .arlo .arlo-venues-widget [type="number"]::-webkit-outer-spin-button {
    height: auto; }
  .arlo .arlo-venues-widget [type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
    /**
     * Remove the inner padding and cancel buttons in Chrome and Safari on OS X.
     */ }
    .arlo .arlo-venues-widget [type="search"]::-webkit-search-cancel-button, .arlo .arlo-venues-widget [type="search"]::-webkit-search-decoration {
      -webkit-appearance: none; }
  .arlo .arlo-venues-widget ::-webkit-input-placeholder {
    color: inherit;
    opacity: 0.54; }
  .arlo .arlo-venues-widget ::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */ }
  .arlo .arlo-venues-widget fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em; }
  .arlo .arlo-venues-widget legend {
    box-sizing: border-box;
    /* 1 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    white-space: normal;
    /* 1 */
    color: inherit;
    /* 2 */
    padding: 0;
    /* 3 */ }
  .arlo .arlo-venues-widget optgroup {
    font-weight: bold; }
  .arlo .arlo-venues-widget textarea {
    overflow: auto; }
  .arlo .arlo-venues-widget .arlo-bg-color-primary {
    background-color: #1DC6BC; }
  .arlo .arlo-venues-widget .arlo-bg-color-secondary {
    background-color: #ED017B; }
  .arlo .arlo-venues-widget .arlo-bg-color-filters {
    background-color: #F1F7FB; }
  .arlo .arlo-venues-widget .arlo-bg-color-highlight {
    background-color: #FFFDF7; }
  .arlo .arlo-venues-widget .arlo-bg-color-normal {
    background-color: #fcfcfc; }
  .arlo .arlo-venues-widget .arlo-bg-color-darker {
    background-color: #f7f7f7; }
  .arlo .arlo-venues-widget .arlo-bg-color-darkest {
    background-color: #f2f2f2; }
  .arlo .arlo-venues-widget .arlo-text-color-primary {
    color: #1DC6BC; }
  .arlo .arlo-venues-widget .arlo-text-color-secondary {
    color: #ED017B; }
  .arlo .arlo-venues-widget .arlo-text-color-contrast {
    color: #FFFFFF; }
  .arlo .arlo-venues-widget .arlo-text-color-lightest {
    color: #fcfcfc; }
  .arlo .arlo-venues-widget .arlo-text-color-light {
    color: #e3e3e3; }
  .arlo .arlo-venues-widget .arlo-text-color-normal {
    color: #969696; }
  .arlo .arlo-venues-widget .arlo-text-color-dark {
    color: #898989; }
  .arlo .arlo-venues-widget .arlo-text-color-link {
    color: #ED017B; }
  .arlo .arlo-venues-widget .arlo-font-primary {
    font-family: "Source Sans Pro", Arial, Tahoma, sans-serif; }
  .arlo .arlo-venues-widget .arlo-font-secondary {
    font-family: "Source Sans Pro", Arial, Tahoma, sans-serif; }
  .arlo .arlo-venues-widget .arlo-font-special {
    font-family: "Source Sans Pro", Arial, Tahoma, sans-serif; }
  .arlo .arlo-venues-widget .arlo-font-size-larger {
    font-size: 110%; }
  .arlo .arlo-venues-widget .arlo-clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0; }
  .arlo .arlo-venues-widget * html .arlo-clearfix {
    zoom: 1; }
  .arlo .arlo-venues-widget * {
    box-sizing: border-box; }
  .arlo .arlo-venues-widget *:first-child + html .arlo-clearfix {
    zoom: 1; }
  .arlo .arlo-venues-widget h1 a, .arlo .arlo-venues-widget h1 a:hover {
    color: black;
    text-decoration: none;
    cursor: default; }
  .arlo .arlo-venues-widget h1, .arlo .arlo-venues-widget h2, .arlo .arlo-venues-widget h3, .arlo .arlo-venues-widget h4 {
    font-weight: normal; }
  .arlo .arlo-venues-widget h3 {
    font-size: 24px; }
  .arlo .arlo-venues-widget a {
    color: #ED017B;
    text-decoration: none; }
    .arlo .arlo-venues-widget a:hover {
      color: #ED017B; }
  .arlo .arlo-venues-widget .arlo-button {
    cursor: pointer;
    text-decoration: none;
    font-size: 15px;
    padding: 11px 25px;
    border-radius: 30px;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
    background-image: url(http://theme1.demo.arlo.co/wp-content/themes/betheme/images/box_shadow_button.png);
    background-repeat: repeat-x;
    color: white;
    font-style: normal;
    display: inline-block; }
    .arlo .arlo-venues-widget .arlo-button:hover {
      opacity: 0.7;
      color: white; }
  .arlo .arlo-venues-widget ul.arlo-venue-listitems {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: auto; }
    .arlo .arlo-venues-widget ul.arlo-venue-listitems > li {
      float: left;
      width: 23%;
      margin-right: 2%;
      margin-bottom: 20px; }
      .arlo .arlo-venues-widget ul.arlo-venue-listitems > li:last-child {
        margin-right: 0; }
  .arlo .arlo-venues-widget[max-width~="910px"] ul.arlo-venue-listitems li {
    width: 48%; }
  .arlo .arlo-venues-widget[max-width~="500px"] ul.arlo-venue-listitems li {
    width: 100%;
    margin-left: 0; }
  .arlo .arlo-venues-widget[max-width~="500px"] .arlo-map-container {
    margin-right: 9px; }
  .arlo .arlo-venues-widget[max-width~="500px"] .arlo-button {
    width: 100%; }
  .arlo .arlo-venues-widget .arlo-venue-heading,
  .arlo .arlo-venues-widget .arlo-venue-heading a {
    margin: 0;
    font-size: 25px;
    color: #333333; }
    .arlo .arlo-venues-widget .arlo-venue-heading:hover,
    .arlo .arlo-venues-widget .arlo-venue-heading a:hover {
      color: #1DC6BC;
      text-decoration: none; }
  .arlo .arlo-venues-widget .arlo-view-all-venue-information {
    display: block; }
  .arlo .arlo-venues-widget .arlo-venue-name,
  .arlo .arlo-venues-widget .arlo-map-container,
  .arlo .arlo-venues-widget .arlo-venue-information,
  .arlo .arlo-venues-widget .arlo-view-upcoming,
  .arlo .arlo-venues-widget .arlo-view-all-venue-information {
    margin: 10px 0; }
  .arlo .arlo-venues-widget .arlo-map-container {
    box-shadow: 0 0 8px 5px #e6e6e6;
    margin-left: 9px;
    border: 10px solid white;
    border-radius: 5px; }
    .arlo .arlo-venues-widget .arlo-map-container iframe {
      display: block;
      width: 100%; }
  .arlo .arlo-venues-widget .arlo-venue-widget-intro {
    text-align: center;
    margin-bottom: 50px; }
    .arlo .arlo-venues-widget .arlo-venue-widget-intro h3 {
      text-transform: uppercase;
      letter-spacing: 1px; }
    .arlo .arlo-venues-widget .arlo-venue-widget-intro h1 {
      margin: 0 0 7px;
      letter-spacing: 1px;
      font-size: 3em; }
  .arlo .arlo-venues-widget .arlo-venue-widget-footer {
    text-align: center; }
    .arlo .arlo-venues-widget .arlo-venue-widget-footer h1 {
      letter-spacing: 1px; }
    .arlo .arlo-venues-widget .arlo-venue-widget-footer p {
      background: #F1F7FB;
      padding: 12px; }

/*# sourceMappingURL=venueswidget.css.map */
            
          
!
            
              (function () {
    document.addEventListener("arlojscontrolsloaded", function () {
        var platformID = "websitetestdata"; // Change platformID to point at your own account

        var venuesWidget = {
            moduleType: "Venues",
            targetElement: "#venues-widget",
            template: "#venues-widget-template",
            customUrls: {
                venue: "/venue/"
            },
            includeLoadMoreButton: false,
            includeArloLink: false,
            venues: [12,9,13,15]
        };

        var app = new window.ArloWebControls();

        app.start({
            "platformID": platformID,
            "googleMapsAPIKey": "AIzaSyAQecSspMnsipB9oV0N4WKbqFNy5zhlNwg",
            "showDevErrors": false,
            "modules": [venuesWidget]
        });
    });
})();
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console