Tagged: site title, tagline
-
AuthorPosts
-
October 15, 2014 at 9:59 pm #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,
GregOctober 16, 2014 at 7:43 am #336592Hi Greg!
Thank you for using Enfold.
Please refer to this link: https://kriesi.at/support/topic/heading-and-menu/#post-335841
Regards,
IsmaelOctober 16, 2014 at 8:52 am #336629Hello 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,
GregOctober 16, 2014 at 8:57 am #336632P.S>
I just attempted this – which only posts the titleadd_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; }October 16, 2014 at 8:58 am #336633oh… wait… I think it did write both; now it is a CSS issue… #trialanderror
October 16, 2014 at 4:30 pm #336867Hey!
Can you post the link to your website please so we can check CSS issue? #TeamKriesi
Cheers!
YigitOctober 17, 2014 at 1:12 am #337071Hello 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,
GregOctober 17, 2014 at 3:44 pm #337385Hey!
Please add following code to Quick CSS
.logo a { line-height: 20px; top: 20px; }Regards,
YigitOctober 17, 2014 at 7:16 pm #337494Hello Yigit,
That’s perfect!!
Thank you,
Greg(we can close this)
-
AuthorPosts
- The topic ‘use "Site Title" and "tagline" in enfold theme instead of logo’ is closed to new replies.
