Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1368139

    Hi,
    how can I change the logo size for desktop to 450 px or 500 px?

    Thanks,
    Ivan

    #1368192

    Hi Ivan,

    You can change the logo size of desktop by changing it in Enfold > Header > Header Layout (tab) > Header Size set it to custom pixel size, then set Header Custom Height
    Next, change the image height and width attributes (default is 100px for height and 300px for width).
    You’ll need to add this PHP code in functions.php file in your child theme (or you can use some code snippets plugin if you’re not using a child theme):

    add_filter('avf_logo_dimension', 'custom_logo_dimension');  
    function custom_logo_dimension($dimension) { 
       $dimension = "height='150' width='450'";
       return $dimension;
    }

    Just adjust the width and height that you want to use.
    Hope this helps.

    Best regards,
    Nikko

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