Dear Kriesi,
How can I display a subtitle underneath the logo in my site header?
When I add a Tagline in the WordPress settings it does not display in the Enfold theme. How else can I add this?
Thanks, Richard
Hey Richard,
Please add following code to Functions.php file in Appearance > Editor and edit as needed
add_filter('avf_logo_subtext', 'kriesi_logo_addition');
function kriesi_logo_addition($sub) {
$sub .= "Company Name";
return $sub;
}
Best regards,
Jordan Shannon
Hi,
You can add the following custom CSS code at Enfold Theme Options > General Styling > Quick CSS
.logo a:after {
content: "My Subtitle" !important;
display: block !important;
}
Best regards,
John Torvik
Hi,
You would have to add a font-size to the css above. It wouldn’t be rendered as heading, but likely a span.
Best regards,
Jordan Shannon
Dear Jordan,
I’m afraid I just want get this to work. When I add the following in the css, my logo text moves to the left but no text appears for my subtitle.
.logo a:after {
content: “My Subtitle” !important;
display: block !important;
}
Thanks, Richard
Hi,
.logo a::after {
content: “My Subtitle” !important;
display: block !important;
padding-top: 20px;
}
Please do try it like that and let us know
Best regards,
Basilis
Thanks,
I’m afraid that the subtitle is still not appearing
Hi Richard,
Maybe it would be better if you added a widget area to the header and added the tagline there? http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/
Best regards,
Rikard