Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #336407

    Hello Support,

    I would like to change the Enfold Theme (we’re using a child theme) so that the Site Title and the Tagline appear in the placement where the “logo image” currently loads.

    I looked that the header.php file and I didn’t see where the information is getting referenced.

    Can you help me?

    I’d like to keep it dynamic so that a person can change both and their choices will be live.

    Thank you,
    Greg

    #336592

    Hi Greg!

    Thank you for using Enfold.

    Please refer to this link: https://kriesi.at/support/topic/heading-and-menu/#post-335841

    Regards,
    Ismael

    #336629

    Hello Ismael,

    That doesn’t quite do it – as it shows how to hard code a company name and link.

    I would like to add the function of bloginfo(‘name’); and bloginfo(‘description’); – and do so in such a manner that I may adjust the CSS for each individually.

    The code below isn’t doing it for me – and I can only add one or the other with the knowledge I have:

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub) {
    	$sub .= "<strong class='logo-title'>Company Name</strong>";
    	return $sub;
    }

    Does the above clarify what I am attempting?

    (Love this theme by the way)

    Sincerely,
    Greg

    #336632

    P.S>
    I just attempted this – which only posts the title

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub) {
    	$sub .= get_bloginfo( 'name', 'display' );
    	$sub .= "<br>";
    	$sub .= get_bloginfo( 'description', 'display' );
    	return $sub;
    }
    #336633

    oh… wait… I think it did write both; now it is a CSS issue… #trialanderror

    #336867

    Hey!

    Can you post the link to your website please so we can check CSS issue? #TeamKriesi

    Cheers!
    Yigit

    #337071

    Hello Yigit,

    Here’s the link: kathleenduich.com.

    (I had an “under construction” plugin on which is why I didn’t include it originally.

    Standing by,
    Greg

    #337385

    Hey!

    Please add following code to Quick CSS

    .logo a {
    line-height: 20px;
    top: 20px;
    }

    Regards,
    Yigit

    #337494

    Hello Yigit,

    That’s perfect!!

    Thank you,
    Greg

    (we can close this)

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘use "Site Title" and "tagline" in enfold theme instead of logo’ is closed to new replies.