-
AuthorPosts
-
April 11, 2015 at 8:00 pm #427066
My client has a logo with a graphical tagline, and it’s just too big to work as a single logo, so I’ve broken it up into two parts. I’d like the tagline / secondary part of the logo to live in a div centered above the menu. What’s the best way to accomplish this?
April 13, 2015 at 6:02 am #427294April 13, 2015 at 6:12 pm #427682Hey!
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 change “company name” as needed. You may need custom CSS code after adding the code to Functions.php file. In that case, please do not forget to attach a screenshot showing the changes you would like to make as well
Regards,
YigitMay 1, 2015 at 5:39 am #437902Thanks for the reply. I probably should have pointed out that I’m using a child theme to avoid CSS collisions with some of the things I needed to change for the client. I added the code block you supplied to the child theme’s functions.php but I’m not seeing any change — where *should* I be seeing this?
May 1, 2015 at 5:43 am #437904Aah, now I see, it’s created a span but it’s hidden beneath the front page slider. If you look at the URL I supplied in my original post, I’m looking to center this element above the current avia-menu div.
Given this, should this subtext class remain a child of the logo class, or maybe modified to be a child of the main menu?
Thanks,
Dan
May 1, 2015 at 7:13 am #437922I found the ‘ava_inside_main_menu’ hook and used that and it does exactly what I need. Thanks!
May 1, 2015 at 2:04 pm #438061Hey!
Glad you figured it out!
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 :)Regards,
Yigit -
AuthorPosts
- The topic ‘What's the best way to add a secondary header image?’ is closed to new replies.
