I would like to add a section beneath my logo (which is an image) and above my side menu where I can write my name and title. How can I do this?
Hi sam!
Please refer to this post – http://kriesi.at/documentation/enfold/add-subtext-to-logo-replace-logo-with-site-title/
Regards,
Yigit
Hello,
Thanks, I used this code in the functions.php file:
add_filter(‘avf_logo_subtext’, ‘kriesi_logo_addition’);
function kriesi_logo_addition($sub) {
$sub .= “My Name, PhD”;
return $sub;
}
But I want to make the text larger and I want it all on one line. I’d also line to add a second line of text. Can you tell me what modifications I need to make to this code or the site so that it will appear correctly?
Thanks!
Hi!
Can you please post a screenshot showing the changes you would like to make and logins to your site as Maintenance mode is enabled at the moment?
You can upload your screenshots on imgur.com or Dropbox public folder and post the links here
Regards,
Yigit
Hi, attached is a screenshot. As you can see, the width is too short and the text is carrying over to the next line. I want to use a larger font and not have that carry over, and I also want to be able to add a second line of text.
Hi!
Please change following code
.html_header_sidebar .logo {
max-width: 200px;
}
to following one
.html_header_sidebar .logo img {
max-width: 100px;
}
.subtext {
font-size: 20px;
}
To add a second line, you can use HTML
add_filter('avf_logo_subtext', 'kriesi_logo_addition');
function kriesi_logo_addition($sub) {
$sub .= "Your name, PhD <br><span class='my-second-line'>text for the second line</span>";
return $sub;
}
Then you can target that second line using following selector in Quick CSS
.my-second-line { font-size: 12px; }
Cheers!
Yigit
This is great, thanks. But how would I add a bit of space between the text and the logo?
Nevermind, I figured that out :) Thanks for your help!