I have installed drupal successfully and chosen a nice theme however i uploaded a logo but the size of it is fixed. I cannot find where it has been resized / fixed. I even went into page.tpl.php and manually put the path into the Only local images are allowed. tag and it still is not resizing to the size of my image. I have checked the stylesheet and no image size is specified??

Comments

VM’s picture

need to know: what theme ?

a link to the site or a screen capture of the exact problem would go a long way, a pictures says a thousand words.

tbobker’s picture

wow speedy reply....here is the link to my site, notice the logo is smaller than its actual size? I am using the pushbutton theme.

tbobker’s picture

wow speedy reply....here is the link to my site, notice the logo is smaller than its actual size? I am using the pushbutton theme.

http://highwycombepeaceinitiative.co.uk/hwpi/

VM’s picture

you have to increase the sizes of the graphic in the code below, pulled from style.css. it would also be beneficial to properly change your logo in the same areas. rather then use the logo upload in administer.... Especially since this perticular theme, uses a hover effect that you won't have in the state that you are in at moment.

td#home {
  background: transparent url(logo-background.jpg) left top repeat;
}
td#home a:link img, td#home a:visited img {
  background: transparent url(logo-active.jpg) repeat;
  width: 144px;
  height: 63px;
}
td#home a:hover img {
  background: transparent url(logo-hover.jpg) repeat;
  width: 144px;
  height: 63px;
}

If the changes don't occur immediatley after you've altered style.css be sure to clear your browser cache or do a hard refresh CTRL-F5 in windows. (not sure on a mac)

for future reference, If you use the firefox browser with the web developer addon and/or the firebug addon (both free) you will easily be able to see and manipulate specific css declarations and in which files they are being called from.

tbobker’s picture

Yes thanks, i just didnt see the img part in the css file. Thanks for the speedy help and reply.

VM’s picture

which is why i suggest using one of the addons i mentioned in previous post. Then you don't have to read through the file and accidentally miss something : )