-
AuthorPosts
-
August 1, 2014 at 10:06 am #298638
Hi, how do I get the text site name instead of logo?
sorry for englishthanks
August 1, 2014 at 1:52 pm #298728Hey urlatore!
Please refer to Ismael’s post here – https://kriesi.at/support/topic/submenu-color-doesnt-change-and-would-like-to-show-header-text-instead-of-logo/#post-253782
Cheers!
YigitAugust 1, 2014 at 3:35 pm #298783Hi Yigit, thanks for reply but I think there are some problems::
1 bad formatting text logo and description
2 right menu disappears
3 when scroll page and sticky header, logo not shrinkingthanks
- This reply was modified 10 years, 4 months ago by czar.
August 1, 2014 at 3:38 pm #298788August 1, 2014 at 4:46 pm #298822This reply has been marked as private.August 1, 2014 at 4:51 pm #298825Now I put it hack, I leave it for a short time
August 1, 2014 at 11:28 pm #298978Hi!
I believe there is a typo in the code you are using, try with this one:
add_filter('avf_logo_final_output', 'avf_text_logo_final_output'); function avf_text_logo_final_output($logo) { $link = apply_filters('avf_logo_link', home_url('/')); $logotext = "THIS IS MY LOGO"; $subtext = "THIS IS THE SUBTEXT"; $subtext = "<span class='subtext'>$subtext</span>"; $logo = "<h1 class='logo bg-logo'><a href='".$link."'>".$logotext."$subtext</a></h1>"; return $logo; }
Cheers!
JosueAugust 2, 2014 at 9:47 am #299110Now the menu is visible. Thank you very much Josue
August 2, 2014 at 6:24 pm #299168Now add this code to the Quick CSS:
.logo{ display: table; } .logo a { display: table-cell; vertical-align: middle; }
August 2, 2014 at 10:20 pm #299217Thanks Josue, works great. You can have scaling effect when scroll page?
August 2, 2014 at 11:15 pm #299222Add this too:
.header-scrolled .logo a{ font-size: 14px; }
Cheers!
JosueAugust 3, 2014 at 5:00 am #299265Thanks Josue
August 3, 2014 at 5:33 am #299267You are welcome, always glad to help :)
Regards,
JosueAugust 5, 2014 at 6:58 am #300039Hi, last help: how do I get “subtext” (without link) under “LOGO”? like:
————————————————
THIS IS MY LOGO
subtext
————————————————
thanks
Cesare- This reply was modified 10 years, 4 months ago by czar.
August 5, 2014 at 8:22 am #300056Hi Cesare!
Please set the subtext you want in the $subtext variable.
Best regards,
JosueAugust 5, 2014 at 9:15 am #300065Yes, I have already done this but the result is:
THIS IS MY LOGOTHIS IS THE SUBTEXT
and I can not format it:
THIS IS MY LOGO
this is the subtextthanks
August 5, 2014 at 10:16 am #300076Hey!
After setting the subtext, add this to the Quick CSS:
span.subtext { display: block; font-size: 14px; } .header-scrolled .subtext{ font-size: 11px; line-height: 5px; }
Best regards,
JosueAugust 5, 2014 at 10:36 am #300084Perfect, thanks Josue
-
AuthorPosts
- The topic ‘site name instead of logo’ is closed to new replies.