Hi there,
Enfold’s output:
Title and description are set for both logo versions.
Any suggestions to fix that?
you can try this in your child-theme functions.php to place for logo and alternate logo title and alt attributes:
function custom_logo_attriubtes(){
?>
<script>
(function($){
$('.logo img').attr({ title:"Tobias Glawe Fotografie", alt:"Fotograf Hannover - Tobias Glawe Fotografie" });
$('.logo img.alternate').attr({ title:"Tobias Glawe Fotografie", alt:"Fotograf Hannover - Tobias Glawe Fotografie" });
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'custom_logo_attriubtes');
Works great, thanks so much.
Hi tglawe,
Glad you got it working for you with Guenni007’s help! :)
If you need further assistance please let us know.
Best regards,
Victoria