Tagged: 

Viewing 30 posts - 1 through 30 (of 34 total)
  • Author
    Posts
  • #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

    #401113
    #401380

    Hi!

    I was trying to add an icon with text to the header, but it didn’t seem to turn out right.

    http://www.orbitalsystems.com.sg

    #401382

    I was hoping it could look something like this

    http://www.swimminglessons.com.sg/

    #401387

    Hi!

    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,
    Yigit

    #401391

    Hi!

    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?

    #401794

    I would also like what Shawnlimws wants. I did what was told but got a “1” below my menu in the totally wrong spot.

    #401895

    Hi!

    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!
    Josue

    #401898

    Hi!

    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! :)

    #402079

    Hi!

    Now just add this to Quick CSS:

    .custom_content {
        right: 0;
        position: absolute;
    }

    Regards,
    Josue

    #402306

    Hi!

    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.

    #402350

    Seems 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 80020

    Closer 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 :(

    #402393

    PROBLEM:
    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.
    #403114

    Hi!

    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,
    Josue

    #403191

    omg you are a genius, hahaha :) Apologies, but which part of the code should I input the icon? how should I do it?

    #403735

    Hey!

    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,
    Josue

    #403793

    hi! is it possible to add an envelope logo for the break line text as well.

    http://www.orbitalsystems.com.sg

    #403890

    Hey!

    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,
    Josue

    #404014

    Hi! there seems to be a problem with the code, when i paste it, the whole screen goes blank

    #404460

    Hi!

    Please edit your functions.php file via FTP and copy the code from here – http://pastebin.com/0VAHvFM8

    Best regards,
    Yigit

    #404673

    Hi!

    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.

    #404722

    Hey!

    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.
    #407415

    Hi!

    When I paste this in the theme functions the page goes blank. Is there something wrong?

    #407417

    Hi,

    Can you create me a WordPress administrator account? post it here as a private reply.

    Regards,
    Josue

    #407419
    This reply has been marked as private.
    #408051

    Hey!

    Login credentials do not seem to work. Can you please check them once again?

    Best regards,
    Yigit

    #408123
    This reply has been marked as private.
    #408138

    Hi!

    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!
    Yigit

    #408154
    This reply has been marked as private.
    #408224

    Hey!

    Not working for me neither, try generating a new user using this e-mail: (Email address hidden if logged out) .

    Best regards,
    Josue

Viewing 30 posts - 1 through 30 (of 34 total)
  • The topic ‘Adding text to Header’ is closed to new replies.