Skip to main content

Navbar dropdown background colour

Used with the Dennis Miller template.

YOOtheme > LAYOUT > Header > Dropdown: Image Enable Dropbar.

YOOtheme > STYLE > Components > Dropbar > Background.

CSS if it doesn't work

.uk-dropnav-dropbar {
    background: #751310;
}
  • Hits: 10

Toolbar top show on mobile

How can i get the content I have added to positions in my header to show in my smaller screens and mobile views?

There are several possible approaches:

  • You could publish additional content via one or more modules (type "Builder" or other) set to Position: Logo Mobile [logo-mobile].

  • In a similar way, with modules, you could add content to the offcanvas/modal that is opened when the toggle (a.k.a. "hamburger") icon is clicked, by setting them to Position: Dialog Mobile [dialog-mobile].

  • To make the "Toolbar" show up for smaller resolutions you could add a customization. Navigate to YOOtheme > SETTINGS > Custom Code and into the field "CSS/LESS" insert the following CSS:

  .tm-page {
  display: flex;
  flex-direction: column;
  }
  .tm-toolbar.uk-visible\@m {
  display: block !important;
  order: -1;
  }
  • Hits: 5

Top area above header

YOOtheme > LAYOUT > Site > Toolbar:   Inherit transparency from header - centre content - width

STYLE > General > Theme > Toolbar > Background colour apply.

  • Hits: 6

Slideshow Lightbox slide show light box

To extend the native "Slideshow" Builder element with a "Lightbox" feature, edit it and take these steps:

  • Click on the tab "Advanced" (that of the Slideshow, not that of an item!), scroll down to the field labeled "Attributes", and insert this line

      uk-lightbox="toggle: a.el-link"
    
  • Scroll further down, and enter the following into the field labeled "CSS":

       .el-overlay, .el-link {
       padding: 0;
       width: 100%;
       height: 100%;
       }
       .el-link {
       position: absolute;
       display: flex;
       justify-content: center;
       align-items: center;
       }
    
  • Apply these in the tab "Settings":

    • OVERLAY > Container Width: None
    • OVERLAY > Margin: None
    • OVERLAY > Position: Center
    • OVERLAY > Style: None
    • LINK > Text: ... can optionally contain the markup for an icon like <i uk-icon="icon:expand; ratio: 3"></i>, for instance, or a text like "Show image", for example, or it can be empty. NOTE: I have found you need something in the link text or the lightbox stops working. So something like ... if you don't want text showing.
    • LINK > Style: Link
  • Edit the Grid Item, and in the tab "Content", field LINK > Dynamic > Article: ... select the same image you have selected for IMAGE > Dynamic > Article: ....

    The image defined via "LINK" is the one which is supposed to be displayed in the Lightbox.

Save the changes, test the result.

  • Hits: 8

Bullet Points padding margin

/*padding to right of bullet points*/
.uk-list-bullet > ::before { left: -40px; }
.uk-list-bullet > * { padding-left: 40px; }

  • Hits: 7