Adds left alignment option to site header.
This commit is contained in:
parent
47294011a7
commit
0b223a7656
|
@ -488,6 +488,24 @@ nav {
|
||||||
align-items: flex-end;
|
align-items: flex-end;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.tainacan-header-layout--left #topNavbar {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: flex-start;
|
||||||
|
|
||||||
|
nav.menu-belowheader {
|
||||||
|
.container-fluid {
|
||||||
|
margin: 0px 16px 0px 0px !important;
|
||||||
|
}
|
||||||
|
#menubelowHeader > ul > li.menu-item {
|
||||||
|
padding-left: 0px;
|
||||||
|
padding-right: 42px;
|
||||||
|
}
|
||||||
|
#menubelowHeader > ul {
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&.tainacan-header-layout--center #topNavbar {
|
&.tainacan-header-layout--center #topNavbar {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
|
@ -2072,7 +2072,7 @@ if ( ! function_exists( 'tainacan_get_header_alignment_options' ) ) :
|
||||||
function tainacan_get_header_alignment_options() {
|
function tainacan_get_header_alignment_options() {
|
||||||
$header_alignment_options = array(
|
$header_alignment_options = array(
|
||||||
'default' => __('One line, spaced', 'tainacan-interface'),
|
'default' => __('One line, spaced', 'tainacan-interface'),
|
||||||
// 'left' => __('Two lines, to the left', 'tainacan-interface'),
|
'left' => __('Two lines, to the left', 'tainacan-interface'),
|
||||||
'center' => __('Two lines, centered', 'tainacan-interface')
|
'center' => __('Two lines, centered', 'tainacan-interface')
|
||||||
);
|
);
|
||||||
return $header_alignment_options;
|
return $header_alignment_options;
|
||||||
|
|
Loading…
Reference in New Issue