Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #546882

    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:
    1

    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:
    2

    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!

    • This topic was modified 9 years ago by MediaKris.
    #546931

    Hi MediaKris!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .subtext {
    font-size: 16px;
    }

    For your information, subtext is currently empty.

    Cheers!
    Yigit

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.