-
AuthorPosts
-
January 27, 2016 at 3:23 pm #572919
Hi,
I had originally posted the following question:
I am looking for code to make a menu that is a hybrid of header option 3 and 5. Basically, my header contains 2 logos – one on the left and the other on the right, and I would like for the navigation tabs to be in the centre, below the logos as in the 5th Menu and Logo Position option.
I received a response to add the following code and it worked:
.html_header_top.html_logo_center .logo {
left: 0;
-webkit-transform: none;
-ms-transform: none;
transform: none;
}I am now working on another project and want to add the second logo on the right side. How and where do i add this? I have so far added the left side logo in the theme options section but do not know where to add the second one.
Thanks.
Regards,
GeoJanuary 27, 2016 at 3:31 pm #572933Hey GeoCreo!
Please add a widget area to your header – http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/ and place your second logo inside it :)
Best regards,
YigitJanuary 27, 2016 at 3:45 pm #572953Thanks Yigit. Excuse my ignorance, but how do I place an image in a widget?
January 27, 2016 at 3:51 pm #572960Hey!
You can enable debugging mode to see shortcodes you have created in pages using Advanced Layout Builder – http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/
Or, You can switch to Default Editor and click on Magic Wand to see full list of shortcodes http://i.imgur.com/n4KXkdm.jpg
then you can create any of them and copy/paste shortcode into any other content element or into text widget.You can also use HTML IMG tag
Regards,
YigitJanuary 27, 2016 at 4:20 pm #573003Thanks, Yigit. I’ve tried to follow your instructions but can’t seem to get it right. Is there another way of adding the second logo?
January 27, 2016 at 4:22 pm #573006In fact, it looks like the logo is there but it’s not in the header and it’s too small.
January 27, 2016 at 4:36 pm #573023Hi!
Do you mind creating a temporary admin login and posting it here privately? :)
Cheers!
YigitJanuary 28, 2016 at 1:07 pm #573693Hi Yigit!
My apologies for the delayed response – I have been offline!
Please see the logins below. Many thanks for your help.
Kind regards,
GeorgeJanuary 28, 2016 at 2:14 pm #573733Hi!
Please review your website now. I added custom CSS code to bottom of Quick CSS field
Best regards,
YigitJanuary 28, 2016 at 2:29 pm #573742Hi Yigit,
Many thanks for your efforts with this. I think it’s halfway there. The challenge however is that the site should not have a sidebar, unless the sidebar is in the header.
Ideally, a solution like the one you had previously suggested for the site url below would be the best.
Thanks so much for your help!
Regards,
GeorgeJanuary 28, 2016 at 3:04 pm #573759Hey!
I added following code to Quick CSS
strong.second-logo.logo.bg-logo { left: auto; right: 0; }
and the one in private content field into functions.php file. Please review your website now. You can remove every sidebar on your website
Best regards,
Yigit- This reply was modified 8 years, 11 months ago by Yigit.
January 28, 2016 at 10:08 pm #574132Thanks Yigit!
That’s perfect. Much appreciated :)
So the code for adding a widget to the header was taken out, right?
January 28, 2016 at 10:28 pm #574142Hi!
Yes, i added the one i posted in private content field in my previous post instead :)
You are welcome. Let us know if you have any other questions or issuesBest regards,
YigitJanuary 30, 2016 at 11:40 pm #575110Thanks Yigit! Much appreciated :)
February 1, 2016 at 8:18 am #575617February 15, 2016 at 2:37 pm #583447Thanks a lot guys. I have tried to duplicate this on another site (in private content field) but the second logo is not appearing.
Can you see what I am missing?
Thanks.
February 16, 2016 at 6:52 am #583907Hi,
I can’t see a header widget area on your site, did you following the steps here? http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/
Best regards,
RikardFebruary 16, 2016 at 10:38 am #584029Hi Rikard,
I think Yigit used another approach as I later deleted all the widgets on the site that he assisted me with.
If you check in the the thread above, he has mentioned that he removed the code for adding the widget in the header area.
Thanks,
GeorgeFebruary 16, 2016 at 11:35 am #584076I’ve managed to sort it out, thanks!
I just used the code provided and it worked :)Thanks for all your assistance!
February 17, 2016 at 7:06 am #584497October 29, 2016 at 2:04 pm #705507Hi Rikard,
I’m trying to do the same thing on another site but can’t get the second logo on the right to appear.
I’ve used the following code in functions.php
function add_secondary_logo(){
?>
<script>
jQuery(window).load(function(){
jQuery(‘.av-logo-container .inner-container’).append(‘<strong class=”second-logo logo bg-logo”>‘);
});
</script>
<?php
}
add_action(‘wp_footer’, ‘add_secondary_logo’);//set builder mode to debug
add_action(‘avia_builder_mode’, “builder_set_debug”);
function builder_set_debug()
{
return “debug”;
}I’ve used this code in Custom CSS:
strong.second-logo.logo.bg-logo {
left: auto;
right: 0;
}.html_header_top.html_logo_center .logo {
left: 0;
-webkit-transform: none;
-ms-transform: none;
transform: none;
}span.avia-menu-text {
text-transform: uppercase;
}November 1, 2016 at 3:16 pm #706748Hi,
I can’t see that you’ve activated a header widget, so please follow this here at first: http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/
Best regards,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.