hi.
I realized this 100% with logo, by changing the header.php.
http://kulturchuchi.ch/web/
Is it possible to do the same, just by changing css?
Thanks for answers
Hi Reto!
Please upload your logo and let us know so we can inspect elements and see what we can do :)
Cheers!
Yigit
Hi Yigit
I uploadet the logo on http://mauritius-panorama.com/
Important is, that the Logo is responsive as in the example above.
Thanks for your help.
Regards
Reto
Hey!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
div#header_main .container, .logo, .logo a, .logo img {
width: 100%;
margin: 0;
padding: 0;
}
Cheers!
Yigit
Thanks Yigit.
That works fine until a browser-width from 1140px.
To your information, i have set the “Header Custom Hight” to the Logo-Image-Heith from 290px.
As from 1139px browser-width i had to add:
@media only screen and (max-width: 1139px) {
.logo img, #header_main .container{
height: 280px !important;
}
}
@media only screen and (max-width: 989px) {
.logo img, #header_main .container{
height: 220px !important;
}
}
But from as from a max-width: 767px i can’t figure out what to do.
The heigt from the logo stays on 80px.
Do you have a solution for that ?
Regards
Reto
Hi!
Try to add the following:
@media only screen and (max-width: 767px) {
.responsive .logo,
.responsive .logo a,
.responsive .logo img {
height: auto !important;
max-height: none !important;
}
}
You can also set the value of height from auto to your desired height.
Cheers!
Günter
Thanks Günter!
That works.