Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #527091

    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!

    #527150

    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

    #527878

    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?

    #528278

    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

    #528388

    here it is

    #528406

    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

    #528423

    it works! thanks a lot

    #528425

    Hi!

    You are welcome, let us know if you have any other questions or issues

    Cheers!
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘move the widget in header when it shrinks’ is closed to new replies.