Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1136696

    Hi,

    first thing to say: I really love enfold.

    Is it possible to make a header like this: Elements in the logo area (logo left) – elemnts on the right (menu below):

    My customer demand it. So I really hope, it’s possible with Enfold and would appreciate your help.

    Best regards,
    Christina

    #1137035

    Hey christina-grab,

    Yes it’s possible, you can place the extra element in a widget area in the header for instance.

    Best regards,
    Rikard

    #1139809

    Hi Rikard,

    I tried several things but could get it done.
    The image was always stacking on top of the logo, which is not what I want. And also, the logo was mostly very small.
    I want the image on the right and the logo on the left – image and logo in normal size.

    I had also a look on this post:

    Maybe you could speficy the solution a bit more so I can adapt it.

    Thank you very much for your support.

    Best regards,
    Christina

    #1139909

    This solution nearly helped:

    https://kriesi.at/support/topic/adding-468-x-60-banner-to-header/

    The only issue is:
    I need to add the image in the inner container (div.inner-container).

    How can I do that?
    It’s really urgent, so I hope I can get an answer today.

    Best regards,
    Christina

    #1139911

    Hi,

    You can try using following code

    add_action( 'ava_main_header', 'enfold_customization_header_widget_area' );
    function enfold_customization_header_widget_area() {
    echo "<div class='custom_content'><img src='_your_url_'></div>";
    }

    and some additional custom CSS to display the image on the right side of your logo

    Cheers!
    Yigit

    #1139930

    Sorry, its not working. Now its displaying the source code on the right side of the header.

    #1139997

    Hi Yigit,

    I got it working now.
    I deleted the code for enabling the header widget and changed your code into this

    add_action( ‘ava_main_header’, ‘enfold_customization_header_widget_area’ );
    function enfold_customization_header_widget_area() {
    dynamic_sidebar( ‘header’ );
    echo “<div class=’custom_content’></div>”;
    }
    BUT – I’m sorry, I need the image to be in the container of the logo OR the inner container – NOT in the main header container.
    That is because, I can’t controll via CSS that the image will always sit in line with the site-content below.

    Could you please have a look and give me your advice?

    Thank you very much for your support.

    Best regards,
    Christina

    #1140218

    Hi Christina,

    In that case, please refer to this post – https://kriesi.at/documentation/enfold/logo/#add-multiple-logos

    Best regards,
    Yigit

    #1140435

    Thank you Yigit.

    Now it’s working, like I needed it.

    You can close this topic now.

    Best regards,
    Christina

    #1140726

    Hi Christina,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.