Tagged: site title, tagline
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
Hi Greg!
Thank you for using Enfold.
Please refer to this link: https://kriesi.at/support/topic/heading-and-menu/#post-335841
Regards,
Ismael
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
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;
}
oh… wait… I think it did write both; now it is a CSS issue… #trialanderror
Hey!
Can you post the link to your website please so we can check CSS issue? #TeamKriesi
Cheers!
Yigit
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
Hey!
Please add following code to Quick CSS
.logo a {
line-height: 20px;
top: 20px;
}
Regards,
Yigit
Hello Yigit,
That’s perfect!!
Thank you,
Greg
(we can close this)