I am using a common logog throughout mt site and am just scalling it is appropriate.

I have found that when I attempt to use update.php after updating a module the logo covers all the buttons and I can't perform the update.

How can I scale the logo in the update.php script?

There appears to be no obvious place to make changes to the logo.

This effect happens with all themes so I am assuming this is something specific to the script.

Regards

Fred

Comments

ask4prasath’s picture

You can resize the logo using css
make a div in the template file and add some classes or ids to the div
resize it in the css
Cheers

Prasath

derfz’s picture

Thanks, that was helpfull, but not quite enough information form me as I am not a coder.

My questions are now abound.

1. Which css file would I be adding this to? (garland theme)
2. If I create a new div doesn't that new div have to be used/called within the tpl file for the new div to function or have an effect, and if so, which tpl file and where?

Never had to do any coding like this before, I am not good at it and have no real clues (thick as 2 short planks). Sorry for having to get you to spoon feed me.

Regards

Fred

derfz’s picture

Resolved

After much playing I found how to do this.

Previously I was scaling the logo within the page.tpl.php as follows

	// New logo display properties
//	print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
	print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" width="212px" height="100px" />';

I have now changed this to the CSS file by changing the page.tpl.php file back to what it was (original) and adding this to the bottom of my styles.css file.

/**
* Logo
*/
#logo {
 width: 212px;
 height: 100px;
}

Not having any understanding of css or the internal operations of drupal doesn't help, but I managed to flounder around enough to work this out.

Regards

Fred

ask4prasath’s picture

You are Almost Correct but it is always good practice to specify the styling width, height, etc of any object in css
that is why css is for

cheers