This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 3

Resize logo in mobile env


  1. Fa
    Member

    Hi,
    Maybe the following can be of help: I noticed that after having put a logo in the theme, when resizing the browser window the form does adjust but not the logo.
    I found online a tip that leads to the logo being resized as well. I haven't tested it in a mobile env, but it works resizing the browser (firefox) on my pc.
    In theme-functions.php

    $form_logo_style .= "height: {$form_logo_height}px;"."\n";
    //begin:
    		$form_logo_style .= "background-size: 100% 100%;"."\n";
    //end:
    		$form_logo_style .= "}"."\n\n";
    
    		$css_content .= $form_logo_style;

    Posted 11 years ago #

RSS feed for this topic

Reply