Hi,
I am having an issue with my site when going on different mobile screens.
It keeps putting the menu onto another line, now I have added some CSS to try resolve this, but is there an easier method for this than adding in a fair few CSS rules for each size screen.
E.g.
/Vertically Align Hamburger Menu on mobile screens <=740px/
@media (max-width: 740px) {
.masthead-inline .x-btn-navbar {
margin-top: 28px !important;
}
/Stop Mobile Hamburger going to next line on smaller screens/
@media(max-width: 740px){
.x-brand img {
max-width: 360px;
}
}
/Stop Mobile Hamburger going to next line on smalller screens <=480/
@media(max-width: 480px){
.x-brand img {
max-width: 250px;
}
}
/Vertically Align Hamburger Menu on mobile screens <=480px/
@media (max-width: 480px) {
.masthead-inline .x-btn-navbar {
margin-top: 18px !important;
}
/* Change Header height on mobile screen to 60px*/
@media (max-width: 480px) {
.x-navbar {
height: 60px !important;
}
}
Would it be possible to do something like have a margin or padding to the right of my logo whenever the hamburger menu is in place (so smaller than 740px).
So when the logo is responsively resized by the site there is always room for the menu to the right?
Orrr
Can I change the coding that resizes the logo so that it resizes it a bit smaller than currently, therefore allowing room for the hamburger menu at 32px in size - I am not sure if this is CSS or not within the X Theme.
Thanks.