Tagged: header
-
AuthorPosts
-
February 23, 2015 at 7:33 pm #400945
Hi,
With my menu positioned below the logo, is there any way I can add icons and text to the right side of the menu?
something similar to:
http://www.swimminglessons.com.sg/Thank you so much for your help
February 24, 2015 at 12:44 am #401113Hi!
Refer to this:
https://kriesi.at/support/topic/header-logo-left-main-menu-below/#post-312643Cheers!
JosueFebruary 24, 2015 at 1:27 pm #401380Hi!
I was trying to add an icon with text to the header, but it didn’t seem to turn out right.
February 24, 2015 at 1:28 pm #401382I was hoping it could look something like this
February 24, 2015 at 1:40 pm #401387Hi!
You can refer to this post and add widget area to header – http://kriesi.at/documentation/enfold/adding-a-widget-area-to-the-header/
Regards,
YigitFebruary 24, 2015 at 1:49 pm #401391Hi!
I just changed it and now it looks like this. http://www.orbitalsystems.com.sg. Is it possible to put it on the right side of the header on the same level as the logo?
February 25, 2015 at 12:27 am #401794I would also like what Shawnlimws wants. I did what was told but got a “1” below my menu in the totally wrong spot.
February 25, 2015 at 8:17 am #401895Hi!
Use the
avf_logo_final_output
filter instead:function av_change_logo($logo, $use_image, $headline_type, $sub, $alt, $link){ $logo .= "<div class='custom_content'>NUMBER HERE</div>"; return $logo; } add_filter('avf_logo_final_output', 'av_change_logo', 100, 6);
Cheers!
JosueFebruary 25, 2015 at 8:29 am #401898Hi!
It seems to be behind the logo now. haha.. how should i adjust it? Can I have a row for the email as well? haha. I also want to include an icon in the front of the email and number. How can I do that?
Sorry to trouble you so much. Thank you so much for your help! :)
February 25, 2015 at 3:20 pm #402079Hi!
Now just add this to Quick CSS:
.custom_content { right: 0; position: absolute; }
Regards,
JosueFebruary 25, 2015 at 7:35 pm #402306Hi!
Is it possible to add an icon in the front of the number? How do I include in the next line the email address? <br> doesn’t seem to work.
February 25, 2015 at 9:38 pm #402350Seems all HTML code pretty much fails in the functions.php file. I am trying to get 2 paragraphs in like this:
“2645 Industrial Lane
Broomfield, CO 80020Closer to Lafayette?
Visit XtremeAltitude.com” (I also want this to be a link, but that throws a PHP error)Website: http://flatironsgym.overhaulics.com/
Currently I have an image of what I want, but I need it to match the format of the image. <br /> gives a huge break. I tried using \n without much luck either. I don’t know PHP :(
February 25, 2015 at 11:40 pm #402393PROBLEM:
I’ve read multiple threads on how to add text and icons to the header in addition to the logo, but they either don’t do what I need, or the code breaks my site.I want it to look exactly like this jpeg. (link –>): HEADER EXAMPLE
Logo, then on the right, two lines of text and custom social icons instead of the font version used by the theme default.
Maybe even have the Nav on the right side?
Please keep in mind, I’m a novice. If you can explain exactly how to do it as if I were an idiot, that would be great :)
Thanks,
Jordan- This reply was modified 9 years, 8 months ago by jordandsa.
February 27, 2015 at 2:11 am #403114Hi!
HTML break lines should work, try the following:
function add_aditional_content_to_header($logo, $use_image, $headline_type, $sub, $alt, $link){ $logo .= "<div class='custom_content'>"; $logo .= "Some content <br> break line"; $logo .= "</div>"; return $logo; } add_filter('avf_logo_final_output', 'add_aditional_content_to_header', 100, 6);
And this CSS:
.custom_content { right: 0; top: 25%; position: absolute; line-height: 18px !important; }
@jordandsa, you can use this option – http://screencast.com/t/2YNXrtJbQ0dT in combination with the methods provided here, post a link to your site if you have any styling issues.Best regards,
JosueFebruary 27, 2015 at 6:37 am #403191omg you are a genius, hahaha :) Apologies, but which part of the code should I input the icon? how should I do it?
February 27, 2015 at 11:35 pm #403735Hey!
Try with this:
function add_aditional_content_to_header($logo, $use_image, $headline_type, $sub, $alt, $link){ $logo .= "<div class='custom_content'>"; $logo .= '<span class="av_font_icon avia_animate_when_visible av-icon-style- av-no-color avia-icon-pos-left avia_start_animation avia_start_delayed_animation" style=""><span class="av-icon-char" style="font-size:16px;line-height:16px;" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"></span></span>'; $logo .= "Some content <br> break line"; $logo .= "</div>"; return $logo; } add_filter('avf_logo_final_output', 'add_aditional_content_to_header', 100, 6);
That will put a phone icon before the text.
Best regards,
JosueFebruary 28, 2015 at 3:52 am #403793hi! is it possible to add an envelope logo for the break line text as well.
February 28, 2015 at 8:13 pm #403890Hey!
Here you go:
function add_aditional_content_to_header($logo, $use_image, $headline_type, $sub, $alt, $link){ $logo .= "<div class='custom_content'>"; $logo .= '<span class="av_font_icon avia_animate_when_visible av-icon-style- av-no-color avia-icon-pos-left avia_start_animation avia_start_delayed_animation" style=""><span class="av-icon-char" style="font-size:16px;line-height:16px;" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"></span></span>'; $logo .= "9232 6778 / 8127 0254 <br> $logo .= '<span class="av_font_icon avia_animate_when_visible av-icon-style- av-no-color avia-icon-pos-left avia_start_animation avia_start_delayed_animation" style=""><span class="av-icon-char" style="font-size:16px;line-height:16px;" aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"></span></span>'; $logo .= "Email: (Email address hidden if logged out) "; $logo .= "</div>"; return $logo; } add_filter('avf_logo_final_output', 'add_aditional_content_to_header', 100, 6);
Regards,
JosueMarch 1, 2015 at 6:32 am #404014Hi! there seems to be a problem with the code, when i paste it, the whole screen goes blank
March 2, 2015 at 2:55 pm #404460Hi!
Please edit your functions.php file via FTP and copy the code from here – http://pastebin.com/0VAHvFM8
Best regards,
YigitMarch 2, 2015 at 6:29 pm #404673Hi!
You guys are great!! really appreciate the help :) Is it possible to make the email linkable? I tried pasting this code
(Email address hidden if logged out) “> (Email address hidden if logged out)
but it doesn’t work.
March 2, 2015 at 7:33 pm #404722Hey!
Yes, please change ” (Email address hidden if logged out) ” into
<a href='mailto: (Email address hidden if logged out) '> (Email address hidden if logged out) </a>
Best regards,
Yigit- This reply was modified 9 years, 8 months ago by Yigit.
March 7, 2015 at 7:53 am #407415Hi!
When I paste this in the theme functions the page goes blank. Is there something wrong?
March 7, 2015 at 8:35 am #407417Hi,
Can you create me a WordPress administrator account? post it here as a private reply.
Regards,
JosueMarch 7, 2015 at 8:40 am #407419This reply has been marked as private.March 9, 2015 at 1:48 pm #408051Hey!
Login credentials do not seem to work. Can you please check them once again?
Best regards,
YigitMarch 9, 2015 at 3:01 pm #408123This reply has been marked as private.March 9, 2015 at 3:16 pm #408138Hi!
Still does not work for me unfortunately
“ERROR: Incorrect username or password.
ERROR: Too many failed login attempts. Please try again in 20 minutes.”Cheers!
YigitMarch 9, 2015 at 3:25 pm #408154This reply has been marked as private.March 9, 2015 at 4:32 pm #408224Hey!
Not working for me neither, try generating a new user using this e-mail: (Email address hidden if logged out) .
Best regards,
Josue -
AuthorPosts
- The topic ‘Adding text to Header’ is closed to new replies.