I added widget to the header with these instructions.
I use this css:
#header.widget {
left: 50%;
padding-top: 0;
position: absolute;
top: 0;
transform: translate(-50%);
z-index: 999;
vertical-align: middle;
}
@media screen and (max-width: 1000px) {
#header .widget{
display:none }
}
.helper {
display: inline-block;
height: 100%;
vertical-align: middle;
}
widget should be inline with logo on the right side..
What am i doing wrong?
omg. thanks for quick help.
Its working.
the difference was !
#header.widget to #header .widget
the spacebar is missing
with no space the class has to be directly on the header container
without space there is a class following the header container.
you did it right on the media querry – maybe only a careless mistake
Hi,
@spavli2, Your welcome and Thank you for using Enfold.
@guenni007, Thanks for helping :)
Best regards,
Mike