Tagged: , ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1422099
    #1422115

    Hey WebbR,

    Thank you for the inquiry.

    You can assign a different logo for specific pages using a filter but you cannot apply a different header settings for different pages. However, you can control the visibility of the header for each page in the Layout > Header visibility and transparency settings.

    To assign a logo for specific pages, please use the following filter in the functions.php file. Make sure to adjust the path of the logo image and configure the conditions according to your requirements.

    function av_change_logo_img($img)
    {
        if( is_front_page() ){
            $img = "logo.png";
        }
        return $img; 
    }
    add_filter('avf_logo','av_change_logo_img');
    

    Best regards,
    Ismael

    #1422132

    @Ismael
    Perfect! Thank you!

    Have a nice day!°

    #1422144

    Hi,

    Great, I’m glad that Ismael could help you out. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1422150

    @Rikard
    Everything is working fine! Thank you! Can be closed!

    #1422183

    Hi WebbR,

    Thanks as well for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Different logo and header settings on homepage’ is closed to new replies.