-
AuthorPosts
-
September 10, 2019 at 6:54 pm #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,
ChristinaSeptember 11, 2019 at 1:35 pm #1137035Hey christina-grab,
Yes it’s possible, you can place the extra element in a widget area in the header for instance.
Best regards,
RikardSeptember 19, 2019 at 9:07 am #1139809Hi 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,
ChristinaSeptember 19, 2019 at 1:36 pm #1139909This 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,
ChristinaSeptember 19, 2019 at 1:44 pm #1139911Hi,
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!
YigitSeptember 19, 2019 at 2:33 pm #1139930Sorry, its not working. Now its displaying the source code on the right side of the header.
September 19, 2019 at 5:57 pm #1139997Hi Yigit,
I got it working now.
I deleted the code for enabling the header widget and changed your code into thisadd_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,
ChristinaSeptember 20, 2019 at 2:02 pm #1140218Hi Christina,
In that case, please refer to this post – https://kriesi.at/documentation/enfold/logo/#add-multiple-logos
Best regards,
YigitSeptember 21, 2019 at 10:42 am #1140435Thank you Yigit.
Now it’s working, like I needed it.
You can close this topic now.
Best regards,
ChristinaSeptember 22, 2019 at 7:53 pm #1140726Hi Christina,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.