Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #491791

    I would like to use a large logo in our header, and use only our icon for the shrinking smaller header, like what’s used here on this support forum. I have scoured the forum and theme options, but I cannot find where I can do this.

    Any help would be much appreciated.

    #492213

    Hi allyson2!

    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 .= "<img src='http://kriesi.at/wp-content/themes/kriesi/images/logo.png' />";
        return $sub;
    }

    And then add following code to Quick CSS in Enfold theme options under General Styling tab

    .header-scrolled .logo>a>img { display: none !important; }

    Cheers!
    Yigit

    #509971

    Hello Yigit,

    i did what you wrote to allyson2, but right now both logos (the small and the big one) are appearing in the mobile view. It would be great if only the small logo is used in the mobile view.

    Thank you in advance,
    Nils

    #509977

    Hey!

    Can you please post the link to your website?

    Regards,
    Yigit

    #509980

    Hello Yigit,

    i fill the url and user data in the private content field, the website is in maintenance mode. Thank you for taking care.

    Best,
    Nils

    #509991

    Hi!

    Please add following code to Quick CSS as well

    @media only screen and (max-width: 768px) {
    .logo > a > img {
        display: none!important;
    }}

    Please make sure that > sign is not converted to – http://i.imgur.com/IDXRZQ3.png in Quick CSS field.

    Best regards,
    Yigit

    #509994

    That works, thank you very much.

    #510001

    Hey!

    You are welcome, glad we could help!
    We will keep the thread open for the OP. If you have any other questions or issues, please feel free to start a new thread :)

    Best regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.