Hello.
Im trying to make a text and subtext instead of a logo on my website. But i can’t get it to work properly.
I have been using this code:
add_filter('avf_logo_final_output', 'avf_text_logo_final_output');
function avf_text_logo_final_output($logo) {
$link = apply_filters('avf_logo_link', home_url('/'));
$logotext = "Balanceret Liv";
$subtext = "Arbejde, fritid, udfoldelse i balance";
$subtext = "<span class='subtext'>$subtext</span>";
$logo = "<h6 class='logo bg-logo'><a href='".$link."'>".$logotext."<br/>$subtext</a></h6>";
return $logo;
}
But everything keeps going in to one big line as shown here:
I would like to have the big logo text “Balanceret Liv” as the “logo” and a subtext right underneath it with “Arbejde, fritid, udfoldelse i balance” – But i cant figure out how to do it:
I tryed to make the H6 tag to my “logo” tag so i could control the size of it, but the subtext gets effected aswell. But the text underneath the logo should be the normal body text size and so on.
Please help!