Hi, I’ve just edited functions.php to have a widget in the header section, before the logo (which is in the middle) – using the ava_before_bottom_main_menu hook. The problem is that when the header shrinks the widget just stays there without moving (as the social media icons do on the right side of the header). how can I solve that? Thanks!
Hey studiono!
Try this out instead, http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/.
Or if you want to keep using your solution then send us a link to your page so we can see if there is a CSS fix.
Cheers!
Elliott
I started with the info at that link but I needed the widget to be inside the logo container to position it at the left margin of the box. Unfortunately I’m working at it on my local server. Is there a way I can send you chunks of code so you can check it without uploading the website?
Hi,
Could you upload what you have now to a live server somewhere? It’s very difficult to tell you what’s wrong if we can’t inspect the elements themselves unfortunately.
Regards,
Rikard
here it is
Hi!
Please add following code to Quick CSS in Enfold theme options under General Styling tab
#header.header-scrolled .widget {
padding-top: 12px;
}
Regards,
Yigit
it works! thanks a lot