-
AuthorPosts
-
August 17, 2015 at 2:25 am #488491
Hello
I want to replace the Enfold logo in the header with my company name in text only. Also increase the top padding so the name is inline with the menu items.
I had to reinstall wordpress and lost all the code.
I tried to use the code from previous postsm but nothing seems to work.
Thank you
Marianne
Yigit did it for me last time (Thanks Yigit). If you tell me the code I am happy to do it myself.
Thanks again- This topic was modified 9 years, 3 months ago by HiMarianne.
August 17, 2015 at 7:46 am #488642Hey Marianne!
Hey!
Please add following code to Functions.php file in Appearance > Editor
add_filter('avf_logo_subtext', 'kriesi_logo_addition'); function kriesi_logo_addition($sub) { $sub .= "Company Name"; return $sub; }
and then add following code to Quick CSS
.text-sep-cat, .blog-author { display: none!important; }
Let me know if that worked as should
Cheers!
BasilisAugust 17, 2015 at 7:12 pm #489072I am locked out of my site. This happened once before. As soon as I entered this code:
add_filter('avf_logo_subtext', 'kriesi_logo_addition');
function kriesi_logo_addition($sub) {
$sub .= "Company Name";
return $sub;
}I can’t log in and get the message below. The last time I thought i’d made a mistake but this time I was really careful. Last time the ISP couldn’t help.
I had to reinstall WP. Any ideas?
Thank you
MarianneInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
August 17, 2015 at 10:34 pm #489182Hello
The second of these two codes locked me out. I am gun shy now. Will the first one work?add_filter(‘avf_logo_subtext’, ‘kriesi_logo_addition’);
function kriesi_logo_addition($sub) {
$sub .= “Well Now…Fancy That”;
return $sub;
}add_filter('avf_logo_subtext', 'kriesi_logo_addition');
function kriesi_logo_addition($sub) {
$sub .= "Company Name";
return $sub;
}I’m confused the one in your email had this: 'avf_logo_subtext', 'kriesi_logo_addition' in it which disappeared
when I entered it above.- This reply was modified 9 years, 3 months ago by HiMarianne.
August 18, 2015 at 2:01 am #489220Hello
I reinstalled WP and used this code previously provided by Yigit,
.responsive #top .logo img {
display: none!important;
}
which successfully got rid of the Enfold Logo.
Do you have a code to put my site title in text that will not lock me out of my site.
Thank you
MarianneAugust 18, 2015 at 6:02 pm #489647Hello
Can someone help me please.
Am I the only one having this problem?
Thanks
MarianneAugust 19, 2015 at 1:14 pm #490013Hi!
I have added the code to functions.php file of your child theme and it is working fine. Please review your website now.
Best regards,
YigitAugust 19, 2015 at 7:09 pm #490315Thanks Yigit I appreciate it.
I copied and pasted that same code in twice before and twice it locked me out.
Have you any idea what could have happened. Is there any common mistakes or errors I may have made that would have caused that.
I really dont want to touch the functions.php box again.Also, could you tell me how to match the font and color to be the same as the menu items?
Thank you again.
MarianneAugust 21, 2015 at 6:00 am #491160Hi,
Not sure what mistake you made, it’s difficult to say without seeing what you did. For the styling please try the following in Quick CSS:
#headertextlogo { float: left; margin-top: 45px; font-size: 14px; color: #2ea3f2; font-family: 'Open Sans'; font-weight: normal; }
Regards,
Rikard -
AuthorPosts
- You must be logged in to reply to this topic.