Tagged: header, logo, responsive
Hi
How do I modify the header responsive behavior?
1. Change the threshold between desktop and mobile browser width.
I need the page to respond when the width of the browser is about 1200 px; where do I change that?
2. Make Logo smaller when in mobile/tablet browser.
3. Make the Header Background disappear when in mobile/table browser.
Any help greatly appreciated.
Hi nigellim68!
Thank you for using Enfold.
1.) I’m sorry but this is not possible without major modifications on the theme.
2.) Decrease the logo size with this:
@media only screen and (max-width: 989px) {
logo, .logo a {width: 200px;}}
3.) Use this to remove the background:
media only screen and (max-width: 989px) {
.header_color .header_bg { background: none; }}
Cheers!
Ismael
Hi Ismael
I followed your instructions and it sort of work but with some strange behaviour.
When in full width, the header was normal.
When I make the width smaller, it respond correctly with the logo becoming smaller.
But when I make the width even smaller, like 768 px, the logo suddenly becomes big again.
What is causing this behaviour?
Hi!
Please add following code to Quick CSS as well and adjust as needed
@media only screen and (max-width: 767px) {
.responsive .logo img { max-width: 70%; }}
Cheers!
Yigit
Thank you, Yigit.
I did what you suggest and yes, the logo became smaller but there are 2 issues:
1. The logo does not remain in a fixed size after that. It shrinks and expands in size as the width goes up and down.
2. The logo changed position from align to the top to align to the middle
How do I resolve this?
Many Thanks!