How can I position the facebook like button or any code to the right of the logo?
Hey M|C,
There’s a hook you can use:
add_filter('avf_logo_final_output', function($logo) {
$logo .= "Something";
return $logo;
}, 10, 1);
Add that to your child theme / theme functions.php.
Best regards,
Josue
Replace Something
with the FB code:
add_filter('avf_logo_final_output', function($logo) {
ob_start();
?>
PASTE FB CODE HERE
<?php
$logo .= ob_get_clean();
return $logo;
}, 10, 1);
Best regards,
Josue
@josue Ok applied code Check again
1) I applied fb code. It appears below logo
2) Menu still gets pushed down.
3) Ex: fabandgo.com is doing something similar.
Hi,
Now add this to Quick CSS / child theme style.css:
#header_main .fb-like.fb_iframe_widget {
position: absolute;
top: 34px;
left: 200px;
}
#header_main .fb_iframe_widget span {
vertical-align: top !important;
}
Best regards,
Josue
@josue Thanks. You’re the best!
You are welcome, glad to help :)
Regards,
Josue