If you want it for Tablet and Mobile only, replace the previous code with this:
@media (max-width: 1024px) {
header#masthead .inside-header {
padding:0;
}
header#masthead .inside-header .site-logo a {
position: absolute;
left: 50%;
top: 4px;
transform: translateX(-50%);
}
nav#site-navigation .inside-navigation {
flex-direction: row-reverse;
}
}
Otherwise, replace it with this instead:
@media (max-width: 1024px) {
header#masthead .inside-header {
padding:0;
}
header#masthead .inside-header .site-logo a {
position: absolute;
left: 50%;
top: 4px;
transform: translateX(-50%);
}
}
nav#site-navigation .inside-navigation {
flex-direction: row-reverse;
}
Kindly let us know how it goes. 🙂