Hello Guys,
I am trying to place a second logo on my site using the code below but it’s not appearing. Is there something I’m doing wrong?
I put this 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”;
}
And I put this in Custom CSS:
.html_header_top.html_logo_center .logo {
left: 0;
-webkit-transform: none;
-ms-transform: none;
transform: none;
}
Hey GeoCreo,
Every site is setup in a different way hence the custom code might not work for you. To add an extra logo in the header create a header widget and add the logo image from Appearance > Widgets > Header widget
Best regards,
Vinay
Hi Vinay,
Thanks for this. I have tried this before and got a slightly different result from what I was looking for.
Would you be able to suggest a method whereby I could tweak the code to make it work?
Many thanks.
Kind regards,
GeoCreo
Hi!
You can adjust custom CSS to change the positions of your second logo. You can also refer to this post – http://kriesi.at/documentation/enfold/add-subtext-to-logo-replace-logo-with-site-title/
Best regards,
Yigit