MyBB Community Forums

Full Version: Change image size in php file
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How would I edit this to change image size in this line of code

            $logo = "<div class=\"logo\"><img src=\"" . $g['logo'] . "\" alt=\"" . $g['name'] . "\" /></div>";

To make maximum height of 30(px)
Use css -

.logo img {max-height:30px;}