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

    Hi guys

    Is there a way to add a Text (Name) instead of using a Logo in the header?

    Thanks

    Carolina

    #447762

    Hey Carolina!

    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 then add following code to Quick CSS in Enfold theme options under General Styling tab

    .logo img { display: none; }

    Regards,
    Yigit

    #447789

    Hi Yigit
    Thank you for the quick reply, it worked!
    Is there a way to make it H1?

    Thx

    Carolina

    #447796

    Hey!

    You can wrap Company Name inside h1 tags as following

    add_filter('avf_logo_subtext', 'kriesi_logo_addition');
    function kriesi_logo_addition($sub) {
        $sub .= "<h1>Company Name</h1>";
        return $sub;
    }

    Best regards,
    Yigit

    #447822

    Greaaat! Any hints of how to center it between the buttom and the top of the white frame?

    #447827

    Hi!

    Can you please post the link to your website so we can provide you an accurate custom CSS code? :)

    Best regards,
    Yigit

    #447830
    This reply has been marked as private.
    #447849

    Hi!

    Please add following code to Quick CSS

    .logo {
      padding-top: 20px;
    }
    .header-scrolled .logo {
    padding-top: 0; 
    }

    Cheers!
    Yigit

    #447881

    Thank you very much!

    #447889

    Hi!

    You are welcome, glad we could help! Let us know if you have any other questions or issues :)

    Regards,
    Yigit

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Text instead of logo’ is closed to new replies.