Reply To: Logo width

Home Forums GovIntranetters Logo width Reply To: Logo width


Hey PamO,

modify the header.php as follows (around line 254):
//write custom css for logo
`$gisid = get_option(‘options_header_logo’);
$gislogow = wp_get_attachment_image_src( $gisid, ‘full’);
$gislogo = $gislogow[0] ;
$gisw = $gislogow[1] + 10;
echo ”
#crownlink {
background: url(‘”.$gislogo.”‘) no-repeat;
background-position:left 10px;
padding: 16px 0 0 “.$gisw.”px;
height: auto;
min-height: 90px;
margin-bottom: 0.6em;

add ,’full’ in between the brackets on the line that starts $gislogow… this ensures that wp uses the full image size rather than a cropped thumbnail.

modify the min-height to read min-height:90px;

see how you go 🙂