Skip to main content

Centre Center nav menu items with themselves

Main Menu - Nav Items

/*Centre nav items under themselves*/
.tm-header .uk-navbar-nav > li > a {
text-align: center;
}

Should you want align the text at the top, use this ruleset instead:

.tm-header .uk-navbar-nav > li > a {
display: flex;
align-items: flex-start;
text-align: center;
}

 

For the footer

.uk-nav-sub {
flex-direction: column;
align-items: center;
}

For the header

 

  • Hits: 20

Padding page border

Presumably you are referring to the "Page Border".

Try and set YOOtheme > STYLE > General > Theme > PAGE > Border Width: 0px.

  • Hits: 4

Changing the order of the rows for mobile

In the Row go to Edit Layout

For the second row to be first on a mobile put:

Column1 - order first / Medium (Tablet Landscape)

Column2 - order first / Always

changing order of rows for mobile

  • Hits: 9

Add a top and bottom border to the menu / navbar area

open the Customizer, go to STYLE > Components > Navbar, pick your colour by setting Border: rgba(190, 175, 130, 1) (for example), set Border Width: 15px, and select Mode: Border.

If this doesn't work add CSS and style for a bottom border

/*header bottom border*/
.uk-navbar-container:not(.uk-navbar-transparent),
.uk-navbar-transparent {
border-bottom: #ff5b00;
border-bottom-style: solid;
border-bottom-width: 12px;
}

For top and bottom border

/*header top and bottom border*/
.uk-navbar-container:not(.uk-navbar-transparent),
.uk-navbar-transparent {
border-bottom: #9E9E9E;
border-bottom-style: solid;
border-bottom-width: 1px;
}

.uk-navbar-container:not(.uk-navbar-transparent),
.uk-navbar-transparent {
border-top: #9E9E9E;
border-top-style: solid;
border-top-width: 1px;
}
  • Hits: 12