Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #380556

    How can I add some text to the right of the logo area? It might need to be in two lines so it doesn’t go over too far and into the menu. thank you

    http://episci-inc.com/

    #380908

    Hey gharding!

    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;
    }

    Cheers!
    Yigit

    #381017

    Yigit, thank you. How could I control the appearance of it with css, please? Let’s just say font size 14 and white text as a place to start and then I’ll figure out the rest.

    gary

    #381178

    p.s. that didn’t work

    http://episci-inc.com/

    #381430

    Hi!

    Actually, the code works but the text is hidden below the header. Use this on Quick CSS:

    .logo, .logo a {
    overflow: visible;
    }
    
    span.subtext {
    position: absolute;
    top: 0;
    left: 220px;
    display: block;
    width: 150px;
    font-size: 15px;
    }

    Adjust the css values if needed.

    Cheers!
    Ismael

    #381575

    that worked. Can I add a <p> after “Excellence”?

    http://episci-inc.com/

    thank you!

    #381603

    Hi!

    You can use HTML instead of “Company Name”. Please make sure to add single quotes as following

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub) {
        $sub .= "Company <p class='secondary-logo-p'>Name</p>";
        return $sub;
    }

    Regards,
    Yigit

    #389334

    @Yigit but in adds text within ‘<a’ element.

    How to set anything after logo element (but still in class=”content” div?

    Adding action to ava_main_header or does another div not inside the content.

    #390523

    Hi!

    Try with the avf_logo_final_output filter:
    https://kriesi.at/support/topic/add-image-to-header-2/

    Cheers!
    Josue

    #390764

    Thanks Josue,
    It would be great to have a list of AVIA hooks for the future anyway ;)

    HAve a nice day!

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘How can I add some text to the right of the logo area?’ is closed to new replies.