-
AuthorPosts
-
September 20, 2016 at 9:35 pm #689552
Dear Kriesi Support:
How do I turn off the the logo altogether and just show the title of the website and the tagline as text in the header?
As always, thank you for your help.
Cheers,
TimSeptember 21, 2016 at 1:47 am #689582Hi hypergolica!
Please refer to this post – http://kriesi.at/documentation/enfold/add-subtext-to-logo-replace-logo-with-site-title/
Cheers!
YigitSeptember 21, 2016 at 12:25 pm #689739Hello Yigit!
Many thanks. What I don’t see is the code that allows me to put the site title + the subtext (it’s either adding subtext to logo or remove logo and add title, but no: remove logo and add title and subtext). Can you help?
Thank you.
Cheers,
TimSeptember 21, 2016 at 3:00 pm #689847Hi Tim,
Add the following code to add the site title:
add_filter('avf_logo_subtext', 'kriesi_title_addition'); function kriesi_title_addition($sub) { $sub .= get_bloginfo('name'); return $sub; }
Then add the following to use a subtext:
add_filter('avf_logo_subtext', 'kriesi_logo_addition'); function kriesi_logo_addition($sub) { $sub .= "Company Name"; return $sub; }
Let me know if that helps!
Best regards,
JordanSeptember 21, 2016 at 3:22 pm #689866Dear Jordan,
When I do that, I get the following error:Fatal error: Cannot redeclare kriesi_logo_addition() (previously declared in /home/american/www/www/plog/wp-content/themes/enfold-child/functions.php:9) in /home/american/www/www/plog/wp-content/themes/enfold-child/functions.php on line 18
I think the “Company Name” and get_bloginfo(‘name’) need to reside in the same add_filter snippet. I’m just not sure how to do that.
Please advise.
Thank you,
TimSeptember 21, 2016 at 3:36 pm #689869Hey!
Please remove the code via FTP and use following instead
add_filter('avf_logo_subtext', 'kriesi_title_addition'); function kriesi_title_addition($sub) { $sub .= get_bloginfo('name'); $sub .= "<br><span class='your-subtext'>Here goes your text</span>"; return $sub; }
then add following code to Quick CSS and adjust as needed
.logo { line-height: 30px; }
Regards,
YigitSeptember 21, 2016 at 3:44 pm #689875Thanks, Yigit!
That did it. :-)
Cheers,
Tim
September 21, 2016 at 3:47 pm #689879Hi!
You are welcome!
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)Cheers!
Yigit -
AuthorPosts
- The topic ‘Turn Off Logo, Just Show Title of Website as Text’ is closed to new replies.