Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #692157

    Hy,
    i would like to change logo when scroll down only in the hompage of my website.
    My header is stick.

    Thanks a lot

    R.

    #692353

    i’ve used also this function to change logo only in homepage:

    //change logo only in Homepage
    add_filter('avf_logo','av_change_logo');
    function av_change_logo($logo)
    {
        if(is_page(202))
        {
        $logo = "http://web.demo.cefriel.com/wp-content/uploads/Logo2.png";
        }
        return $logo;
    }

    But i need to change it also when scroll down

    #692775

    Hi,

    Please add your second logo by referring to this post – http://kriesi.at/documentation/enfold/add-subtext-to-logo-replace-logo-with-site-title/ and then add following code to Quick CSS in Enfold theme options under General Styling tab

    .page-id-202 .header-scrolled .logo a > img { display: none; }

    Best regards,
    Yigit

    #692994

    Ok i solved it in another but similar way. Thank you very much

    #693005

    Hey!

    THanks a lot for letting us know!
    We would also appreciate if you could spare a moment to rate our theme at themeforest!
    It really help us go further!

    Thanks a lot for your time and patience

    Best regards,
    Basilis

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Change logo when scroll down only in homepage’ is closed to new replies.