Adds left alignment option to site header.

This commit is contained in:
mateuswetah 2021-04-22 19:50:30 -03:00
parent 47294011a7
commit 0b223a7656
2 changed files with 19 additions and 1 deletions

View File

@ -488,6 +488,24 @@ nav {
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 {
flex-direction: column;
align-items: center;

View File

@ -2072,7 +2072,7 @@ if ( ! function_exists( 'tainacan_get_header_alignment_options' ) ) :
function tainacan_get_header_alignment_options() {
$header_alignment_options = array(
'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')
);
return $header_alignment_options;