Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Another logo issue :)

Another logo issue :)

Views: 694

Results 1 to 8 of 8
4 Jun 2011, 9:18 AM
#1
bridge32 avatar

bridge32

Zen Follower

Join Date:
Jun 2011
Posts:
145
Plugin Contributions:
0

Another logo issue :)

Hi all.
I have looked around for the fix for my problem, but yet to find a solution, or i might be overlooking something.
On my site i have a logo, and i have recently had someone redo the slogan under the picture (made it bigger to read).
Now the original file was called logo.png, so i uploaded the new file and renamed to logo.png also.
The new logo now looks bigger than the last one and is not sitting correctly.
I have gone through the header.php etc and tried to change the width and height but with no luck.
I have also tried to rename the file to logo2.png and rename it in the header logo wrapper area still with no luck.
The logo i have now is the original, so any advise on how to get the new logo up would be appreciated.
Original logo size i think is 300px x 110px, and the new one is 576px x 360px.
I have even tried to resize my logo to match the original one, but again it does not work.
My site is www.cakekraft.co.uk if you could have a look and help i would be grateful.
Regards,
Nic.

4 Jun 2011, 10:09 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Another logo issue :)

We'll probably have to see the new image in place to advise. Any chance you uploaded the new image to the wrong folder ?

4 Jun 2011, 10:17 AM
#3
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Another logo issue :)

Did you alter correct header.php file?
Should be
/includes/languages/english/nameofyourtemplate/header.php

4 Jun 2011, 11:28 AM
#4
bridge32 avatar

bridge32

Zen Follower

Join Date:
Jun 2011
Posts:
145
Plugin Contributions:
0

Re: Another logo issue :)

Hi, i have now uploaded the new logo.
As you can see it is bigger than the last one.
The logo is in the correct folder as logo2.png
I have tried to alter the /includes/languages/english/modern_black/header.php :
// added defines for header alt and text
define('HEADER_ALT_TEXT', 'Cake Kraft');
define('HEADER_SALES_TEXT', '');
define('HEADER_LOGO_WIDTH', '131px');
define('HEADER_LOGO_HEIGHT', '37px');
define('HEADER_LOGO_IMAGE', 'logo2.png');

but if i try to change the width and height to 300px and 110px as the size needed it does not seem to work correctly.

4 Jun 2011, 2:42 PM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Another logo issue :)

That image is 576 X 360, which is why it takes up so much more space. I think you want to crop it to something like 375 X 190 in your imaging software, which will remove the extra space but leave the larger logo image.

4 Jun 2011, 3:26 PM
#6
bridge32 avatar

bridge32

Zen Follower

Join Date:
Jun 2011
Posts:
145
Plugin Contributions:
0

Re: Another logo issue :)

Hi, thnaks for replying.
I have cropped the image as close as possible to the logo sides, but how would i make the logo image smaller? Is this done in the header.php, because i tried to make it 300x110 and it would not alter the logo size.
Is there any other files i need to change to get the image size to be set at 300px x 110px?
Thanks.

4 Jun 2011, 3:28 PM
#7
bridge32 avatar

bridge32

Zen Follower

Join Date:
Jun 2011
Posts:
145
Plugin Contributions:
0

Re: Another logo issue :)

If i right click and view source:

<!--bof-branding display-->

<div id="logoWrapper"><div id="logo"><a href="http://www.cakekraft.co.uk/"><img src="includes/templates/modern_black/images/logo2.png" alt="Cake Kraft" title=" Cake Kraft " width="352" height="143" /></a></div></div>

<div class="header_social"><a href="http://www.facebook.com/pages/Cake-Kraft/218492734830894" target="_blank"><img src="images/social/fb.png" alt="Facebook" width="32" height="32"></a>  <a href="http://twitter.com/cakekraft" target="_blank"><img src="images/social/tw.png" width="32" height="32"></a> </div>

How do i get this file to change the side as explained in the above post?

4 Jun 2011, 5:34 PM
#8
bridge32 avatar

bridge32

Zen Follower

Join Date:
Jun 2011
Posts:
145
Plugin Contributions:
0

Re: Another logo issue :)

Just to let those who gave me some help on this problem i had, i have sorted it out now, by playing around and resizing the image.
It looks better now :smile: