Improvements to site header center alignment

This commit is contained in:
mateuswetah 2021-04-22 19:34:03 -03:00
parent 25b456a6ae
commit 47294011a7
2 changed files with 16 additions and 0 deletions

View File

@ -495,6 +495,7 @@ nav {
.navbar-brand {
margin-top: 6px;
text-align: center;
}
.navbar-box {
justify-content: center;
@ -512,6 +513,16 @@ nav {
justify-content: center;
}
}
@media only screen and (max-width: 768px) {
justify-content: space-between;
width: 100%;
#menubelowHeader {
left: 0;
right: unset;
}
}
}
}
}

View File

@ -2825,6 +2825,11 @@ function tainacan_header_settings_style_output() {
.tainacan-logo .logo {
max-height: ' . $header_logo_max_height . 'px !important;
max-width: ' . $header_logo_max_width . 'px !important;
}
@media only screen and (max-width: 768px) {
.tainacan-logo .logo {
max-width: 100% !important;
}
}' . ( $is_fixed_header ?
'body nav.navbar {
position: sticky;