-
AuthorPosts
-
July 15, 2017 at 4:32 pm #821721
Hi, I’ve read all the answers as usual but most involve functions.php and child theme, both of which I don’t think I have.
Is there any other way I can create a simple tagline underneath my main Logo?
Thanks,
Peter.July 15, 2017 at 5:50 pm #821746Hey Pirlyxyz,
To add the tagline from the WordPress settings under the logo, edit the Tagline in WP:
Add this code to the end of your functions.php file in Appearance > Editor:add_filter('avf_logo_subtext', 'kriesi_logo_addition'); function kriesi_logo_addition($sub) { $sub .= "<span class='logo-title logo-subtitle'>"; $sub .= get_bloginfo( 'description', 'display' ); $sub .= "</span>"; return $sub; }
Add this code in the General Styling > Quick CSS field:
#top .logo, #top .logo a { overflow: visible; } #top .logo-subtitle { color: #aaa !important; font-size: 18px !important; top: 30px !important; position: absolute; white-space: nowrap; }
Best regards,
MikeJuly 16, 2017 at 12:49 pm #821992Hi Mike,
Thanks for such a quick and detailed reply.
I’m afraid that I can’t find the functions.php file in Appearance > Editor. I only have four choices under Appearance which are Theme, Customize, Widget, Menus.Cheers,
Peter.July 16, 2017 at 2:55 pm #822026Hi,
Perhaps you don’t have full admin access, or someone has supper admin and is blocking edit from you? Or you have a security plugin and you need to give yourself edit permission?
Try FTP access and edit functions.php at: (your host)\wp-content\themes\enfold
Save a backup copy of the un-modified functions.php on your desktop… just in case :)Best regards,
MikeJuly 16, 2017 at 10:04 pm #822187Hi Mike,
Thanks again for such a comprehensive reply.
My knowledge is not quite sufficient to understand a lot of your advice but I’ll forward this to my VPS company who do a great job at helping me out with areas like this.
Regards,
Peter.
July 16, 2017 at 10:19 pm #822191Hi,
Glad to help, let us know how it goes as I’m curious why you can’t get to the editor.Best regards,
MikeApril 24, 2018 at 8:41 pm #946182Code above works, thanks. Now how do you hide the tagline on mobile devices?
April 25, 2018 at 2:08 am #946335 -
AuthorPosts
- You must be logged in to reply to this topic.